Skip to content

Commit

Permalink
Fix inconsistency in default implementation of scrollable::StyleSheet
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Mar 27, 2023
1 parent c407b45 commit dcccf70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion style/src/scrollable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

0 comments on commit dcccf70

Please sign in to comment.