summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLibravatar Bingus <shankern@protonmail.com>2023-02-15 11:28:36 -0800
committerLibravatar Bingus <shankern@protonmail.com>2023-02-15 11:28:36 -0800
commit367fea5dc8e94584334e880970126b40a046bfa6 (patch)
tree8678a00263edd4e4ef8dfc2abf2b6b4c9ca7e067 /examples
parent0a643287deece9234b64cc843a9f6ae3e6e4806e (diff)
downloadiced-367fea5dc8e94584334e880970126b40a046bfa6.tar.gz
iced-367fea5dc8e94584334e880970126b40a046bfa6.tar.bz2
iced-367fea5dc8e94584334e880970126b40a046bfa6.zip
Redraw request events for multiwindow.
Diffstat (limited to 'examples')
-rw-r--r--examples/solar_system/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/solar_system/src/main.rs b/examples/solar_system/src/main.rs
index 9a4ee754..eb461bb0 100644
--- a/examples/solar_system/src/main.rs
+++ b/examples/solar_system/src/main.rs
@@ -89,7 +89,7 @@ impl Application for SolarSystem {
}
fn subscription(&self) -> Subscription<Message> {
- window::frames().map(Message::Tick)
+ window::frames().map(|frame| Message::Tick(frame.at))
}
}