From b20886f08af0bfbbf1a546c19c6119c4c314997f Mon Sep 17 00:00:00 2001 From: lyswhut Date: Thu, 17 Nov 2022 18:21:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BB=A5=E5=85=A8=E5=B1=8F?= =?UTF-8?q?=E5=90=AF=E5=8A=A8=E8=AE=BE=E7=BD=AE=E4=B8=8E=E7=AA=97=E5=8F=A3?= =?UTF-8?q?=E5=A4=A7=E5=B0=8F=E6=A3=80=E6=B5=8B=E5=86=B2=E7=AA=81=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/main.ts b/src/renderer/main.ts index 9878e88d..33d14cb5 100644 --- a/src/renderer/main.ts +++ b/src/renderer/main.ts @@ -59,7 +59,7 @@ void getSetting().then(setting => { } window.i18n.setLanguage(setting['common.langId']) - if ((document.body.clientHeight > window.screen.availHeight || document.body.clientWidth > window.screen.availWidth) && setting['common.windowSizeId'] > 1) { + if (!setting['common.startInFullscreen'] && (document.body.clientHeight > window.screen.availHeight || document.body.clientWidth > window.screen.availWidth) && setting['common.windowSizeId'] > 1) { void updateSetting({ 'common.windowSizeId': 1 }) }