summaryrefslogtreecommitdiffstats
path: root/widget/src/stack.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/stack.rs
parent9492da11d90893b396e8dfdae47cc54c6ab42411 (diff)
downloadiced-4cd45643d7d2aa83212162f17a9b28ddae4a9340.tar.gz
iced-4cd45643d7d2aa83212162f17a9b28ddae4a9340.tar.bz2
iced-4cd45643d7d2aa83212162f17a9b28ddae4a9340.zip
Introduce `opaque` widget helper
Diffstat (limited to '')
-rw-r--r--widget/src/stack.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/widget/src/stack.rs b/widget/src/stack.rs
index 6e5dacd2..8a0ea2eb 100644
--- a/widget/src/stack.rs
+++ b/widget/src/stack.rs
@@ -249,7 +249,7 @@ where
state, layout, cursor, viewport, renderer,
)
})
- .find(|&interaction| interaction != mouse::Interaction::Idle)
+ .find(|&interaction| interaction != mouse::Interaction::None)
.unwrap_or_default()
}