winit/src/platform_impl/web/web_sys
Ryan G 28a50817af
Fix web redraw requested (#1181)
* Keep track of what windows have requested redraw

Instead of using request_animation_frame and sending redraw request
events, just keep track of all windows that have asked for a redraw.
This doesn't handle dispatching the events

* Issue redraw events to windows that request it

* Cargo fmt
2019-09-23 09:14:26 -04:00
..
canvas.rs Fix web redraw requested (#1181) 2019-09-23 09:14:26 -04:00
event.rs Avoid leaking implementation details in Canvas API 2019-06-25 21:36:24 +02:00
mod.rs Send a LoopDestroyed event when the browser is closed (#1155) 2019-09-11 11:47:03 -04:00
timeout.rs Add dyn keyword where necessary 2019-07-01 20:23:42 +02:00