修复以全屏启动设置与窗口大小检测冲突的问题
parent
ec2b802912
commit
b20886f08a
|
@ -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 })
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue