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;
if (is_inside_tree()) {
should_clamp_split_offset = true; should_clamp_split_offset = true;
queue_sort(); _resort();
minimum_size_changed(); minimum_size_changed();
}
} }
String SplitContainer::get_grabber_theme_constant_name() const { String SplitContainer::get_grabber_theme_constant_name() const {