修正透明窗口设置逻辑
This commit is contained in:
@@ -19,7 +19,7 @@ const defaultSetting: LX.AppSetting = {
|
||||
'common.isAgreePact': false,
|
||||
'common.controlBtnPosition': isMac ? 'left' : 'right',
|
||||
'common.playBarProgressStyle': 'mini',
|
||||
'common.transparentWindow': false,
|
||||
'common.transparentWindow': true,
|
||||
'common.tryAutoUpdate': true,
|
||||
'common.showChangeLog': true,
|
||||
|
||||
|
||||
+1
-1
@@ -281,7 +281,7 @@ export const initAppSetting = async() => {
|
||||
global.lx.appSetting = (await initSetting()).setting
|
||||
if (!dbFileExists) await migrateDBData().catch(err => { log.error(err) })
|
||||
initTheme()
|
||||
if (envParams.cmdParams.dt == null) envParams.cmdParams.dt = global.lx.appSetting['common.transparentWindow']
|
||||
if (envParams.cmdParams.dt == null) envParams.cmdParams.dt = !global.lx.appSetting['common.transparentWindow']
|
||||
}
|
||||
// global.lx.theme = getTheme()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user