Revert "Call update_scrollbars() in sort_children() so the max is set properly so you can set scroll_container.scroll_vertical instantly after adding children to a scroll container."

This reverts commit b73d2980b7.

This caused a regression. Fixes #63417.
This commit is contained in:
Rémi Verschelde 2022-07-25 11:29:33 +02:00
parent 270f5a3bd1
commit be5051422b

View file

@ -304,7 +304,6 @@ void ScrollContainer::_update_dimensions() {
fit_child_in_rect(c, r);
}
update_scrollbars();
update();
}