Skip to content

Commit dcccf70

Browse files
committed
Fix inconsistency in default implementation of scrollable::StyleSheet
1 parent c407b45 commit dcccf70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

style/src/scrollable.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,6 @@ pub trait StyleSheet {
6565

6666
/// Produces the style of a horizontal scrollbar that is being dragged.
6767
fn dragging_horizontal(&self, style: &Self::Style) -> Scrollbar {
68-
self.hovered(style, true)
68+
self.hovered_horizontal(style, true)
6969
}
7070
}

0 commit comments

Comments
 (0)