Merge pull request #91859 from aaronp64/scene_tabs_resized

Move "Add a new scene" button when Scene Tabs settings change
This commit is contained in:
Rémi Verschelde 2024-05-13 12:05:53 +02:00
commit 9cfbd6d75f
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}