屏蔽设置

This commit is contained in:
lyswhut
2022-06-18 11:50:54 +08:00
parent f33947287c
commit a31180260b
4 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ const winEvent = lyricWindow => {
lyricWindow.once('ready-to-show', () => {
lyricWindow.show()
if (global.appSetting.desktopLyric.isLock) {
global.modules.lyricWindow.setIgnoreMouseEvents(true, { forward: true })
global.modules.lyricWindow.setIgnoreMouseEvents(true, { forward: !isLinux })
}
// linux下每次重开时貌似要重新设置置顶
if (isLinux && global.appSetting.desktopLyric.isAlwaysOnTop) {