1
0
Fork 0

Merge pull request #114932 from jelolul/updating-tab-styles

Fix dock tab styles not updating when changed in Editor Settings
This commit is contained in:
Rémi Verschelde 2026-01-13 23:43:44 +01:00
commit c99ae14992
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 3 additions and 0 deletions

View File

@ -1070,6 +1070,9 @@ void EditorNode::_notification(int p_what) {
if (EditorSettings::get_singleton()->check_changed_settings_in_group("interface/editor/dragging_")) {
theme->set_constant("dragging_unfold_wait_msec", "Tree", (float)EDITOR_GET("interface/editor/dragging_hover_wait_seconds") * 1000);
theme->set_constant("hover_switch_wait_msec", "TabBar", (float)EDITOR_GET("interface/editor/dragging_hover_wait_seconds") * 1000);
}
if (EditorSettings::get_singleton()->check_changed_settings_in_group("interface/editor")) {
editor_dock_manager->update_tab_styles();
}