We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb59b4d commit a8bd1c8Copy full SHA for a8bd1c8
CHANGELOG.md
@@ -1,5 +1,10 @@
1
# Change Log
2
3
+## 2.3.13
4
+
5
+- Modifed the inclusion order of SDL.h
6
+- Fixed a bug in the app2html command
7
8
## 2.3.12
9
10
- Added a Q&A about file loading to the FAQ
wasm/pyxel.js
@@ -103,6 +103,9 @@ async function _createScreenElements() {
103
if (!pyxelScreen) {
104
pyxelScreen = document.createElement("div");
105
pyxelScreen.id = "pyxel-screen";
106
+ if (!document.body) {
107
+ document.body = document.createElement("body");
108
+ }
109
document.body.appendChild(pyxelScreen);
110
}
111
pyxelScreen.oncontextmenu = (event) => event.preventDefault();
0 commit comments