summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
Diffstat (limited to 'native')
-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 c1df8c39..b88b77e5 100644
--- a/native/src/widget/scrollable.rs
+++ b/native/src/widget/scrollable.rs
@@ -859,6 +859,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)
};
@@ -872,6 +874,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)
};