summaryrefslogtreecommitdiffstats
path: root/core/src/widget.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 /core/src/widget.rs
parent9492da11d90893b396e8dfdae47cc54c6ab42411 (diff)
downloadiced-4cd45643d7d2aa83212162f17a9b28ddae4a9340.tar.gz
iced-4cd45643d7d2aa83212162f17a9b28ddae4a9340.tar.bz2
iced-4cd45643d7d2aa83212162f17a9b28ddae4a9340.zip
Introduce `opaque` widget helper
Diffstat (limited to 'core/src/widget.rs')
-rw-r--r--core/src/widget.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/widget.rs b/core/src/widget.rs
index 58a9f19b..b02e3a4f 100644
--- a/core/src/widget.rs
+++ b/core/src/widget.rs
@@ -137,7 +137,7 @@ where
_viewport: &Rectangle,
_renderer: &Renderer,
) -> mouse::Interaction {
- mouse::Interaction::Idle
+ mouse::Interaction::None
}
/// Returns the overlay of the [`Widget`], if there is any.