Small improvement to the CSplitCointainer.

This commit is contained in:
Relintai 2023-10-20 16:56:18 +02:00
parent 3b8f836a41
commit edb250930d

View File

@ -65,9 +65,11 @@ void SplitContainer::_set_vertical(bool p_vertical) {
vertical = p_vertical; vertical = p_vertical;
should_clamp_split_offset = true; if (is_inside_tree()) {
queue_sort(); should_clamp_split_offset = true;
minimum_size_changed(); _resort();
minimum_size_changed();
}
} }
String SplitContainer::get_grabber_theme_constant_name() const { String SplitContainer::get_grabber_theme_constant_name() const {