Vertical scroll container margin is incorrect

This bug has already been fixed in the master branch
This commit is contained in:
Xavier Sellier 2019-12-11 16:06:02 -05:00 committed by GitHub
parent 32f64e5f99
commit fab1ef325c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ void ScrollContainer::_notification(int p_what) {
size.y -= h_scroll->get_minimum_size().y; size.y -= h_scroll->get_minimum_size().y;
if (v_scroll->is_visible()) if (v_scroll->is_visible())
size.x -= h_scroll->get_minimum_size().x; size.x -= v_scroll->get_minimum_size().x;
for (int i = 0; i < get_child_count(); i++) { for (int i = 0; i < get_child_count(); i++) {