From 5c9d80592ac7814f547c4a4e6c69d1515ce67cb6 Mon Sep 17 00:00:00 2001 From: HolonProduction Date: Thu, 11 Jul 2024 08:46:38 +0200 Subject: [PATCH] Add icon for local variable completion options --- editor/code_editor.cpp | 2 +- editor/icons/LocalVariable.svg | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 editor/icons/LocalVariable.svg diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp index 753ed209336..4c934104d19 100644 --- a/editor/code_editor.cpp +++ b/editor/code_editor.cpp @@ -1067,7 +1067,7 @@ Ref CodeTextEditor::_get_completion_icon(const ScriptLanguage::CodeCo tex = get_editor_theme_icon(SNAME("NodePath")); break; case ScriptLanguage::CODE_COMPLETION_KIND_VARIABLE: - tex = get_editor_theme_icon(SNAME("Variant")); + tex = get_editor_theme_icon(SNAME("LocalVariable")); break; case ScriptLanguage::CODE_COMPLETION_KIND_CONSTANT: tex = get_editor_theme_icon(SNAME("MemberConstant")); diff --git a/editor/icons/LocalVariable.svg b/editor/icons/LocalVariable.svg new file mode 100644 index 00000000000..194a34d9d46 --- /dev/null +++ b/editor/icons/LocalVariable.svg @@ -0,0 +1 @@ + \ No newline at end of file