mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 14:12:51 +00:00
Vertical scroll container margin is incorrect
This bug has already been fixed in the master branch
This commit is contained in:
parent
32f64e5f99
commit
fab1ef325c
@ -228,7 +228,7 @@ void ScrollContainer::_notification(int p_what) {
|
||||
size.y -= h_scroll->get_minimum_size().y;
|
||||
|
||||
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++) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user