mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 04:40:03 -04:00
Use canvas directly (#4780)
This commit is contained in:
@@ -166,7 +166,7 @@
|
||||
|
||||
check_for_panic();
|
||||
|
||||
handle.start("the_canvas_id").then(on_app_started).catch(on_error);
|
||||
handle.start(document.getElementById("the_canvas_id")).then(on_app_started).catch(on_error);
|
||||
}
|
||||
|
||||
function on_app_started(handle) {
|
||||
|
||||
Reference in New Issue
Block a user