tweak scroll example

This commit is contained in:
ickshonpe 2025-07-12 02:36:04 +01:00
parent b78b9dce84
commit de96aad079

View File

@ -151,7 +151,7 @@ fn vertically_scrolling_list(font_handle: Handle<Font>) -> impl Bundle {
flex_direction: FlexDirection::Column,
align_self: AlignSelf::Stretch,
height: Val::Percent(50.),
overflow: Overflow::scroll(), // n.b.
overflow: Overflow::scroll_y(), // n.b.
scrollbar_width: 20.,
..default()
},