移除不需要的代码

pull/1211/head
lyswhut 2023-02-15 09:12:55 +08:00
parent c0515c9c4f
commit 549ea19c26
1 changed files with 3 additions and 3 deletions

View File

@ -77,9 +77,9 @@ const winEvent = () => {
browserWindow!.setIgnoreMouseEvents(true, { forward: !isLinux && global.lx.appSetting['desktopLyric.isHoverHide'] })
}
// linux下每次重开时貌似要重新设置置顶
if (isLinux && global.lx.appSetting['desktopLyric.isAlwaysOnTop']) {
browserWindow!.setAlwaysOnTop(global.lx.appSetting['desktopLyric.isAlwaysOnTop'], 'screen-saver')
}
// if (isLinux && global.lx.appSetting['desktopLyric.isAlwaysOnTop']) {
// browserWindow!.setAlwaysOnTop(global.lx.appSetting['desktopLyric.isAlwaysOnTop'], 'screen-saver')
// }
if (global.lx.appSetting['desktopLyric.isAlwaysOnTop'] && global.lx.appSetting['desktopLyric.isAlwaysOnTopLoop']) alwaysOnTopTools.startLoop()
})
}