summaryrefslogtreecommitdiffstats
path: root/winit
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-10-22 00:25:30 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-11-05 23:52:56 +0100
commit97bcca04002d9d7c4812e178d30fb12358fad72c (patch)
tree8644656d4af729f16ed665edfb6207f9fb96aa84 /winit
parent5c33ce18ed8b12db9a6ba138112804761d26fddb (diff)
downloadiced-97bcca04002d9d7c4812e178d30fb12358fad72c.tar.gz
iced-97bcca04002d9d7c4812e178d30fb12358fad72c.tar.bz2
iced-97bcca04002d9d7c4812e178d30fb12358fad72c.zip
Remove `TODO` about reactive rendering in `iced_winit`
Diffstat (limited to 'winit')
-rw-r--r--winit/src/program.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/winit/src/program.rs b/winit/src/program.rs
index 2ac7ad0d..f15e5be5 100644
--- a/winit/src/program.rs
+++ b/winit/src/program.rs
@@ -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()),
);