Fix styling of horizontal scrollbar in scrollable example

This commit is contained in:
Héctor Ramón Jiménez 2023-09-14 19:37:15 +02:00
parent 2c782bbe7a
commit bebb2b0252
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -389,12 +389,12 @@ impl scrollable::StyleSheet for ScrollbarCustomStyle {
background: style
.active(&theme::Scrollable::default())
.background,
border_radius: 0.0.into(),
border_radius: 2.0.into(),
border_width: 0.0,
border_color: Default::default(),
scroller: Scroller {
color: Color::from_rgb8(250, 85, 134),
border_radius: 0.0.into(),
border_radius: 2.0.into(),
border_width: 0.0,
border_color: Default::default(),
},