Skip to content

Commit

Permalink
Merge pull request #55451 from Calinou/scene-tree-dock-fix-icon-theme…
Browse files Browse the repository at this point in the history
…-change

Fix scene tree dock icon not switching colors on theme change
  • Loading branch information
akien-mga authored Nov 29, 2021
2 parents aa74494 + 9c6032b commit 03cfdf8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions editor/scene_tree_dock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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")));
Expand Down

0 comments on commit 03cfdf8

Please sign in to comment.