From 63179995cd96bde86fdca210b38126698f482690 Mon Sep 17 00:00:00 2001 From: unanmed <1319491857@qq.com> Date: Sun, 4 Feb 2024 19:32:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=85=A8=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/main.js | 2 +- src/ui/start.vue | 22 ---------------------- 2 files changed, 1 insertion(+), 23 deletions(-) diff --git a/public/main.js b/public/main.js index 7a91181..45e76c4 100644 --- a/public/main.js +++ b/public/main.js @@ -415,7 +415,7 @@ main.prototype.loadAsync = async function (mode, callback) { if (auto && !core.domStyle.isVertical) { try { - Mota.Plugin.require('utils_g').maxGameScale(); + Mota.Plugin.require('utils_g').maxGameScale(1); requestAnimationFrame(() => { var style = getComputedStyle(main.dom.gameGroup); var height = parseFloat(style.height); diff --git a/src/ui/start.vue b/src/ui/start.vue index e5c0570..9e793a4 100644 --- a/src/ui/start.vue +++ b/src/ui/start.vue @@ -25,28 +25,6 @@ @click="setFullscreen" /> -