修复最小化托盘设置不起作用的问题
This commit is contained in:
@@ -29,7 +29,7 @@ eventHub.on(baseName.bindKey, () => {
|
||||
|
||||
// 软件内快捷键的最小化触发时
|
||||
// 如果已启用托盘,则隐藏程序,否则最小化程序 https://github.com/lyswhut/lx-music-desktop/issues/603
|
||||
if (appHotKeyConfig.local.keys[key].action == hotKeyNamesCommon.min.action && global.appSetting.tray.isToTray) {
|
||||
if (appHotKeyConfig.local.keys[key].action == hotKeyNamesCommon.min.action && global.appSetting.tray.isShow) {
|
||||
eventHub.emit(hotKeyNamesCommon.hide_toggle.action)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user