You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Fix loop of scene tabs updates
It was a regression of f8e8b7d1a2,
thanks to @dragmz for finding it.
This commit is contained in:
@@ -364,7 +364,8 @@ void EditorNode::_notification(int p_what) {
|
|||||||
dock_tab_move_right->set_icon(theme->get_icon("Forward", "EditorIcons"));
|
dock_tab_move_right->set_icon(theme->get_icon("Forward", "EditorIcons"));
|
||||||
update_menu->set_icon(gui_base->get_icon("Progress1", "EditorIcons"));
|
update_menu->set_icon(gui_base->get_icon("Progress1", "EditorIcons"));
|
||||||
}
|
}
|
||||||
if (p_what = Control::NOTIFICATION_RESIZED) {
|
|
||||||
|
if (p_what == Control::NOTIFICATION_RESIZED) {
|
||||||
_update_scene_tabs();
|
_update_scene_tabs();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user