From 4629675329f872c9dd4672402b9b9e5e593fec19 Mon Sep 17 00:00:00 2001 From: quou Date: Sat, 6 May 2023 16:51:36 +1000 Subject: Building and running for emscripten. --- ems/post_run.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 ems/post_run.js (limited to 'ems/post_run.js') diff --git a/ems/post_run.js b/ems/post_run.js new file mode 100644 index 0000000..b52a931 --- /dev/null +++ b/ems/post_run.js @@ -0,0 +1,3 @@ +addOnPostRun(function() { + document.getElementById('canvas').focus(); +}); -- cgit v1.2.3-54-g00ecf