From 7a7628a3feaec81d9a445acbec604baecac3a167 Mon Sep 17 00:00:00 2001 From: quou Date: Sat, 12 Oct 2024 00:23:57 +1100 Subject: sdl + emscripten backend --- 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