mirror of
https://github.com/emilk/egui.git
synced 2026-07-10 08:44:11 +00:00
b1d2551e7e
Native is already delayed by a frame because it calls `handle_viewport_output` -> `egui_winit::process_viewport_commands` after drawing. On web however, we process input including viewport commands separately from drawing. This adds an arbitrary frame delay mechanism for web and then uses this with 1 frame delay always