renamed scrollable styles
This commit is contained in:
parent
4f41927155
commit
c337bf297d
3 changed files with 21 additions and 21 deletions
|
|
@ -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)
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue