mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 07:03:15 -04:00
On Web, wake event loop on request_redraw()
This commit is contained in:
@@ -157,6 +157,7 @@ impl<T: 'static> Shared<T> {
|
||||
|
||||
pub fn request_redraw(&self, id: WindowId) {
|
||||
self.0.redraw_pending.borrow_mut().insert(id);
|
||||
self.send_events(iter::empty());
|
||||
}
|
||||
|
||||
pub fn init(&self) {
|
||||
|
||||
Reference in New Issue
Block a user