Remove TODO about reactive rendering in iced_winit

This commit is contained in:
Héctor Ramón Jiménez 2024-10-22 00:25:30 +02:00
parent 5c33ce18ed
commit 97bcca0400
No known key found for this signature in database
GPG key ID: 4C07CEC81AFA161F

View file

@ -824,11 +824,6 @@ async fn run_instance<P, C>(
continue;
};
// TODO: Avoid redrawing all the time by forcing widgets to
// request redraws on state changes
//
// 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 = core::Event::Window(
window::Event::RedrawRequested(Instant::now()),
);