diff options
Diffstat (limited to 'native/src/widget/scrollable.rs')
-rw-r--r-- | native/src/widget/scrollable.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/native/src/widget/scrollable.rs b/native/src/widget/scrollable.rs index b88b77e5..be81bee1 100644 --- a/native/src/widget/scrollable.rs +++ b/native/src/widget/scrollable.rs @@ -858,9 +858,9 @@ pub fn draw<Renderer>( let style = if state.y_scroller_grabbed_at.is_some() { theme.dragging(style) } else if mouse_over_y_scrollbar { - theme.hovered(style) + theme.hovered_scrollbar(style) } else if mouse_over_scrollable { - theme.focused(style) + theme.hovered(style) } else { theme.active(style) }; @@ -873,9 +873,9 @@ pub fn draw<Renderer>( let style = if state.x_scroller_grabbed_at.is_some() { theme.dragging_horizontal(style) } else if mouse_over_x_scrollbar { - theme.hovered_horizontal(style) + theme.hovered_scrollbar_horizontal(style) } else if mouse_over_scrollable { - theme.focused_horizontal(style) + theme.hovered_horizontal(style) } else { theme.active_horizontal(style) }; |