Merge pull request #113822 from kitbdev/fix-editor-distraction-free-sc-size

Fix distraction-free mode changing split offsets
This commit is contained in:
Thaddeus Crews
2025-12-10 18:10:28 -06:00
2 changed files with 4 additions and 2 deletions

View File

@@ -993,7 +993,7 @@ void SplitContainer::_remove_valid_child(Control *p_control) {
}
// Only use desired sizes to change the split offset after the first time a child is removed.
// This allows adding children to not affect the split offsets when creating.
can_use_desired_sizes = valid_children.size() > 1u;
can_use_desired_sizes = true;
_update_default_dragger_positions();
queue_sort();