Redraw request events for multiwindow.

This commit is contained in:
Bingus 2023-02-15 11:28:36 -08:00
parent 0a643287de
commit 367fea5dc8
No known key found for this signature in database
GPG key ID: 5F84D2AA40A9F170
3 changed files with 20 additions and 6 deletions

View file

@ -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))
}
}