Skip to content

Commit

Permalink
Remove TODO about reactive rendering in iced_winit
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Oct 21, 2024
1 parent 5e3ed20 commit 7dfda63
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions winit/src/program.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
);
Expand Down

0 comments on commit 7dfda63

Please sign in to comment.