Fix inconsistency in default implementation of scrollable::StyleSheet

This commit is contained in:
Héctor Ramón Jiménez 2023-03-27 15:57:51 +02:00
parent c407b4504c
commit dcccf7064d
No known key found for this signature in database
GPG key ID: 140CC052C94F138E

View file

@ -65,6 +65,6 @@ pub trait StyleSheet {
/// Produces the style of a horizontal scrollbar that is being dragged.
fn dragging_horizontal(&self, style: &Self::Style) -> Scrollbar {
self.hovered(style, true)
self.hovered_horizontal(style, true)
}
}