diff options
author | Matthew Michelotti <michelotti.matthew@gmail.com> | 2018-07-21 22:51:11 -0500 |
---|---|---|
committer | Matthew Michelotti <michelotti.matthew@gmail.com> | 2018-07-21 23:00:02 -0500 |
commit | 40a2422cfe5619d9dae899bf1ce0146a0fdf7ef3 (patch) | |
tree | 519414a81d750f3c9a29867ed541d02b0c00cf6f | |
parent | 1a98fa64114a793e939309b138ea27502109cabc (diff) |
cancel fullscreen when app is quit
-rw-r--r-- | gate_build/src/html/gate.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gate_build/src/html/gate.js b/gate_build/src/html/gate.js index cc84d7b..d6e9c97 100644 --- a/gate_build/src/html/gate.js +++ b/gate_build/src/html/gate.js @@ -390,6 +390,7 @@ function gate(args) { function quitApp() { Module.currentlyRunning = false; + imports.env.gateWasmCancelFullscreen(); Module.appQuit = true; if (Module.currentMusic != null) { Module.currentMusic.pause(); |