Web: fix WindowEvent::Resized not using rAF (#3790)
This commit is contained in:
parent
dc99920612
commit
8e23d1608a
2 changed files with 4 additions and 1 deletions
|
|
@ -613,7 +613,7 @@ impl ActiveEventLoop {
|
|||
window_id: RootWindowId(id),
|
||||
event: WindowEvent::Resized(new_size),
|
||||
});
|
||||
runner.request_redraw(RootWindowId(id));
|
||||
canvas.request_animation_frame();
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue