use requestAnimationFrame on desktop
This commit is contained in:
1 parent
856fb1874e
commit
71f7481ded
1 file changed
+3
-1
@@ -44,7 +44,9 @@ fn main() {
|
||||
.then(response => {{
|
||||
response.arrayBuffer()
|
||||
.then(bytes => {{
|
||||
run_from_bytes(bytes);
|
||||
requestAnimationFrame(() => {{
|
||||
run_from_bytes(bytes);
|
||||
}});
|
||||
window.interpreter.wait_for_request();
|
||||
}});
|
||||
}})
|
||||
|
||||
Reference in new issue
Block a user