Skip to content

Commit

Permalink
Merge pull request #91859 from aaronp64/scene_tabs_resized
Browse files Browse the repository at this point in the history
Move "Add a new scene" button when Scene Tabs settings change
  • Loading branch information
akien-mga committed May 13, 2024
2 parents ad4e9d2 + 245be6f commit 9cfbd6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions editor/gui/editor_scene_tabs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ void EditorSceneTabs::_notification(int p_what) {
if (EditorSettings::get_singleton()->check_changed_settings_in_group("interface/scene_tabs")) {
scene_tabs->set_tab_close_display_policy((TabBar::CloseButtonDisplayPolicy)EDITOR_GET("interface/scene_tabs/display_close_button").operator int());
scene_tabs->set_max_tab_width(int(EDITOR_GET("interface/scene_tabs/maximum_width")) * EDSCALE);
_scene_tabs_resized();
}
} break;
}
Expand Down

0 comments on commit 9cfbd6d

Please sign in to comment.