mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Fix scene tree dock icon not switching colors on theme change
This fixes the "three vertical dots" button at the right of the scene tree dock when switching from a dark theme to a light theme or vice versa.
This commit is contained in:
parent
9d3875dde7
commit
9c6032b46a
1 changed files with 1 additions and 0 deletions
|
|
@ -1306,6 +1306,7 @@ void SceneTreeDock::_notification(int p_what) {
|
|||
button_instance->set_icon(get_theme_icon(SNAME("Instance"), SNAME("EditorIcons")));
|
||||
button_create_script->set_icon(get_theme_icon(SNAME("ScriptCreate"), SNAME("EditorIcons")));
|
||||
button_detach_script->set_icon(get_theme_icon(SNAME("ScriptRemove"), SNAME("EditorIcons")));
|
||||
button_tree_menu->set_icon(get_theme_icon(SNAME("GuiTabMenuHl"), SNAME("EditorIcons")));
|
||||
button_2d->set_icon(get_theme_icon(SNAME("Node2D"), SNAME("EditorIcons")));
|
||||
button_3d->set_icon(get_theme_icon(SNAME("Node3D"), SNAME("EditorIcons")));
|
||||
button_ui->set_icon(get_theme_icon(SNAME("Control"), SNAME("EditorIcons")));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue