Merge pull request #92559 from kitbdev/fix-add-scene-button
Update Add Scene button after TabBar resizes
This commit is contained in:
commit
e607d47d89
1 changed files with 1 additions and 1 deletions
|
@ -405,7 +405,7 @@ EditorSceneTabs::EditorSceneTabs() {
|
||||||
scene_tabs->connect(SceneStringName(mouse_exited), callable_mp(this, &EditorSceneTabs::_scene_tab_exit));
|
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(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("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);
|
scene_tabs_context_menu = memnew(PopupMenu);
|
||||||
tabbar_container->add_child(scene_tabs_context_menu);
|
tabbar_container->add_child(scene_tabs_context_menu);
|
||||||
|
|
Loading…
Reference in a new issue