mirror of
https://github.com/godotengine/godot
synced 2024-09-05 19:09:37 +00:00
Merge pull request #92559 from kitbdev/fix-add-scene-button
Update Add Scene button after TabBar resizes
This commit is contained in:
commit
e607d47d89
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue