mirror of
https://github.com/godotengine/godot.git
synced 2025-01-24 21:01:50 +08:00
Update Add Scene button after TabBar resizes
This commit is contained in:
parent
e96ad5af98
commit
9a2ffd74d3
@ -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 New Issue
Block a user