summaryrefslogtreecommitdiffstats
path: root/native/src/widget/scrollable.rs
diff options
context:
space:
mode:
authorLibravatar Giuliano Bellini s294739 <s294739@studenti.polito.it>2023-01-23 17:32:08 +0100
committerLibravatar Giuliano Bellini s294739 <s294739@studenti.polito.it>2023-01-23 17:32:08 +0100
commiteaa2238600a0d3055b379592c7a3f8e6453b9dc7 (patch)
tree9d4a87765d2f1cc08f9a69d683a16b518ffaee6a /native/src/widget/scrollable.rs
parent7d2d813343baae10c2667590463385d50abb784c (diff)
downloadiced-eaa2238600a0d3055b379592c7a3f8e6453b9dc7.tar.gz
iced-eaa2238600a0d3055b379592c7a3f8e6453b9dc7.tar.bz2
iced-eaa2238600a0d3055b379592c7a3f8e6453b9dc7.zip
debugging focused style not working
Diffstat (limited to '')
-rw-r--r--native/src/widget/scrollable.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/native/src/widget/scrollable.rs b/native/src/widget/scrollable.rs
index de6eacb5..71814034 100644
--- a/native/src/widget/scrollable.rs
+++ b/native/src/widget/scrollable.rs
@@ -859,7 +859,7 @@ pub fn draw<Renderer>(
} else if mouse_over_scrollable {
theme.focused(style)
} else {
- theme.active(style)
+ theme.focused(style)
};
draw_scrollbar(renderer, style, &scrollbar);
@@ -874,7 +874,7 @@ pub fn draw<Renderer>(
} else if mouse_over_scrollable {
theme.focused_horizontal(style)
} else {
- theme.active_horizontal(style)
+ theme.focused_horizontal(style)
};
draw_scrollbar(renderer, style, &scrollbar);