mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/lyswhut/lx-music-desktop.git
synced 2026-09-20 08:04:00 +08:00
修复以全屏启动设置与窗口大小检测冲突的问题
This commit is contained in:
@@ -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 })
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user