mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Merge pull request #34283 from xsellier/patch-2
Vertical scroll container margin is incorrect
This commit is contained in:
commit
38568f82c3
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue