diff options
author | 2024-04-25 06:05:00 +0200 | |
---|---|---|
committer | 2024-04-25 06:05:37 +0200 | |
commit | 4cd45643d7d2aa83212162f17a9b28ddae4a9340 (patch) | |
tree | fbddb2c21c41a4d76c10ee0695dd5e1fd9669f14 /widget/src/mouse_area.rs | |
parent | 9492da11d90893b396e8dfdae47cc54c6ab42411 (diff) | |
download | iced-4cd45643d7d2aa83212162f17a9b28ddae4a9340.tar.gz iced-4cd45643d7d2aa83212162f17a9b28ddae4a9340.tar.bz2 iced-4cd45643d7d2aa83212162f17a9b28ddae4a9340.zip |
Introduce `opaque` widget helper
Diffstat (limited to 'widget/src/mouse_area.rs')
-rw-r--r-- | widget/src/mouse_area.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widget/src/mouse_area.rs b/widget/src/mouse_area.rs index 9634e477..d7235cf6 100644 --- a/widget/src/mouse_area.rs +++ b/widget/src/mouse_area.rs @@ -232,7 +232,7 @@ where ); match (self.interaction, content_interaction) { - (Some(interaction), mouse::Interaction::Idle) + (Some(interaction), mouse::Interaction::None) if cursor.is_over(layout.bounds()) => { interaction |