fix scroll bars not appearing (#2826) (#2827)

This commit is contained in:
Ryan Hileman 2023-03-29 05:53:24 -07:00 committed by GitHub
parent 8ec9233e28
commit 73a011f83a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ impl ScrollArea {
auto_shrink: [true; 2],
max_size: Vec2::INFINITY,
min_scrolled_size: Vec2::splat(64.0),
scroll_bar_visibility: ScrollBarVisibility::AlwaysHidden,
scroll_bar_visibility: ScrollBarVisibility::VisibleWhenNeeded,
id_source: None,
offset_x: None,
offset_y: None,