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:
parent
270f5a3bd1
commit
be5051422b
1 changed files with 0 additions and 1 deletions
|
@ -304,7 +304,6 @@ void ScrollContainer::_update_dimensions() {
|
|||
fit_child_in_rect(c, r);
|
||||
}
|
||||
|
||||
update_scrollbars();
|
||||
update();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue