summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-03-27 15:57:51 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-03-27 15:57:51 +0200
commitdcccf7064d506abb3aab15227e6cdf34d852514d (patch)
treeef6b04b719d434ff8b03b1636cd665f98ec45e29
parentc407b4504cd5e7dcb04a8fd31ad0400c891fc3e1 (diff)
downloadiced-dcccf7064d506abb3aab15227e6cdf34d852514d.tar.gz
iced-dcccf7064d506abb3aab15227e6cdf34d852514d.tar.bz2
iced-dcccf7064d506abb3aab15227e6cdf34d852514d.zip
Fix inconsistency in default implementation of `scrollable::StyleSheet`
-rw-r--r--style/src/scrollable.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/style/src/scrollable.rs b/style/src/scrollable.rs
index 64a91b69..b528c444 100644
--- a/style/src/scrollable.rs
+++ b/style/src/scrollable.rs
@@ -65,6 +65,6 @@ pub trait StyleSheet {
/// Produces the style of a horizontal scrollbar that is being dragged.
fn dragging_horizontal(&self, style: &Self::Style) -> Scrollbar {
- self.hovered(style, true)
+ self.hovered_horizontal(style, true)
}
}