summaryrefslogtreecommitdiffstats
path: root/widget/src/scrollable.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-04-25 06:05:00 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-04-25 06:05:37 +0200
commit4cd45643d7d2aa83212162f17a9b28ddae4a9340 (patch)
treefbddb2c21c41a4d76c10ee0695dd5e1fd9669f14 /widget/src/scrollable.rs
parent9492da11d90893b396e8dfdae47cc54c6ab42411 (diff)
downloadiced-4cd45643d7d2aa83212162f17a9b28ddae4a9340.tar.gz
iced-4cd45643d7d2aa83212162f17a9b28ddae4a9340.tar.bz2
iced-4cd45643d7d2aa83212162f17a9b28ddae4a9340.zip
Introduce `opaque` widget helper
Diffstat (limited to 'widget/src/scrollable.rs')
-rw-r--r--widget/src/scrollable.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/widget/src/scrollable.rs b/widget/src/scrollable.rs
index cdc143a2..10e81cee 100644
--- a/widget/src/scrollable.rs
+++ b/widget/src/scrollable.rs
@@ -857,7 +857,7 @@ where
if (mouse_over_x_scrollbar || mouse_over_y_scrollbar)
|| state.scrollers_grabbed()
{
- mouse::Interaction::Idle
+ mouse::Interaction::None
} else {
let translation =
state.translation(self.direction, bounds, content_bounds);