Merge pull request #92559 from kitbdev/fix-add-scene-button

Update Add Scene button after TabBar resizes
This commit is contained in:
Rémi Verschelde 2024-06-07 23:29:36 +02:00
commit e607d47d89
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -405,7 +405,7 @@ EditorSceneTabs::EditorSceneTabs() {
scene_tabs->connect(SceneStringName(mouse_exited), callable_mp(this, &EditorSceneTabs::_scene_tab_exit));
scene_tabs->connect(SceneStringName(gui_input), callable_mp(this, &EditorSceneTabs::_scene_tab_input));
scene_tabs->connect("active_tab_rearranged", callable_mp(this, &EditorSceneTabs::_reposition_active_tab));
scene_tabs->connect(SceneStringName(resized), callable_mp(this, &EditorSceneTabs::_scene_tabs_resized));
scene_tabs->connect(SceneStringName(resized), callable_mp(this, &EditorSceneTabs::_scene_tabs_resized), CONNECT_DEFERRED);
scene_tabs_context_menu = memnew(PopupMenu);
tabbar_container->add_child(scene_tabs_context_menu);