summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--native/src/widget/scrollable.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/native/src/widget/scrollable.rs b/native/src/widget/scrollable.rs
index 82286036..de6eacb5 100644
--- a/native/src/widget/scrollable.rs
+++ b/native/src/widget/scrollable.rs
@@ -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)
};