修正透明窗口设置逻辑
parent
72939db2df
commit
ae35d05649
|
@ -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,
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue