Add icon for local variable completion options

This commit is contained in:
HolonProduction 2024-07-11 08:46:38 +02:00
parent 24d74510e5
commit 5c9d80592a
2 changed files with 2 additions and 1 deletions

View file

@ -1067,7 +1067,7 @@ Ref<Texture2D> 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"));

View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><g fill="#e0e0e0"><path d="M9 5c-4 0-4 6 0 6h2v-6zm0 4c-1.3333 0-1.3333-2 0-2zM14 5c-1.6569 0-3 1.3431-3 3v3h2v-3c0-.55228.44772-1 1-1h1v-2z"/><path d="m1 5v6h2c1.6569 0 3-1.3431 3-3v-3h-2v3c0 0.55228-0.44772 1-1 1v-4z"/></g></svg>

After

Width:  |  Height:  |  Size: 294 B