summaryrefslogtreecommitdiffstats
path: root/runtime
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 /runtime
parent9492da11d90893b396e8dfdae47cc54c6ab42411 (diff)
downloadiced-4cd45643d7d2aa83212162f17a9b28ddae4a9340.tar.gz
iced-4cd45643d7d2aa83212162f17a9b28ddae4a9340.tar.bz2
iced-4cd45643d7d2aa83212162f17a9b28ddae4a9340.zip
Introduce `opaque` widget helper
Diffstat (limited to 'runtime')
-rw-r--r--runtime/src/multi_window/state.rs2
-rw-r--r--runtime/src/program/state.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/runtime/src/multi_window/state.rs b/runtime/src/multi_window/state.rs
index afd04519..10366ec0 100644
--- a/runtime/src/multi_window/state.rs
+++ b/runtime/src/multi_window/state.rs
@@ -48,7 +48,7 @@ where
caches,
queued_events: Vec::new(),
queued_messages: Vec::new(),
- mouse_interaction: mouse::Interaction::Idle,
+ mouse_interaction: mouse::Interaction::None,
}
}
diff --git a/runtime/src/program/state.rs b/runtime/src/program/state.rs
index d685b07c..c6589c22 100644
--- a/runtime/src/program/state.rs
+++ b/runtime/src/program/state.rs
@@ -47,7 +47,7 @@ where
cache,
queued_events: Vec::new(),
queued_messages: Vec::new(),
- mouse_interaction: mouse::Interaction::Idle,
+ mouse_interaction: mouse::Interaction::None,
}
}