New iced changes

This commit is contained in:
Bingus 2023-01-18 15:17:20 -08:00
parent 70d487ba20
commit 7e9a12a4aa
No known key found for this signature in database
GPG key ID: 5F84D2AA40A9F170
4 changed files with 6 additions and 5 deletions

View file

@ -402,6 +402,7 @@ async fn run_instance<A, E, C>(
// Then, we can use the `interface_state` here to decide if a redraw
// is needed right away, or simply wait until a specific time.
let redraw_event = Event::Window(
crate::window::Id::MAIN,
crate::window::Event::RedrawRequested(Instant::now()),
);