From c337bf297d1836c429cd24964e8b3bdcc13850be Mon Sep 17 00:00:00 2001 From: Giuliano Bellini s294739 Date: Sat, 25 Mar 2023 01:05:56 +0100 Subject: renamed scrollable styles --- native/src/widget/scrollable.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'native/src/widget') 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( 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( 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) }; -- cgit