added new style for scrollable, to be applied when mouse is over the scrollable area
This commit is contained in:
parent
eb4fcba05f
commit
7d2d813343
2 changed files with 14 additions and 0 deletions
|
|
@ -856,6 +856,8 @@ pub fn draw<Renderer>(
|
|||
theme.dragging(style)
|
||||
} else if mouse_over_y_scrollbar {
|
||||
theme.hovered(style)
|
||||
} else if mouse_over_scrollable {
|
||||
theme.focused(style)
|
||||
} else {
|
||||
theme.active(style)
|
||||
};
|
||||
|
|
@ -869,6 +871,8 @@ pub fn draw<Renderer>(
|
|||
theme.dragging_horizontal(style)
|
||||
} else if mouse_over_x_scrollbar {
|
||||
theme.hovered_horizontal(style)
|
||||
} else if mouse_over_scrollable {
|
||||
theme.focused_horizontal(style)
|
||||
} else {
|
||||
theme.active_horizontal(style)
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue