From b7dc653df1bce2aed3160aaa9d6abf6e7add9448 Mon Sep 17 00:00:00 2001 From: MisaLiu Date: Thu, 27 Oct 2022 14:27:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E9=A1=B5=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E6=B8=B8=E6=88=8F=E6=97=B6=E5=85=A8=E5=B1=8F=E5=88=87=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 3 ++- src/index.js | 6 +----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/public/index.html b/public/index.html index 86bb9be..a64eaaa 100644 --- a/public/index.html +++ b/public/index.html @@ -249,7 +249,7 @@ GitHub homepage: https://github.com/MisaLiu/phi-chart-render
Report bugs Here - +
@@ -290,6 +290,7 @@
Game paused
+ diff --git a/src/index.js b/src/index.js index 66958a8..fe93c13 100644 --- a/src/index.js +++ b/src/index.js @@ -162,6 +162,7 @@ window.doms = doms; window.files = files; window.assets = assets; window.currentFile = currentFile; +window.fullscreen = fullscreen; window.loader = new Loader(); @@ -455,11 +456,6 @@ doms.startBtn.addEventListener('click', async () => { doms.fileSelect.style.display = 'none'; }); -doms.fullscreenBtn.addEventListener('click', () => -{ - fullscreen.toggle(document.body, false); -}); - window.addEventListener('error', (err) => { doms.errorWindow.content.innerText = (err.error && err.error.stack ? err.error.stack : err.error.message);