On Web, wake event loop on request_redraw()
This commit is contained in:
parent
0f64589dba
commit
1805124c54
2 changed files with 2 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue