mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-09 06:49:02 +08:00
fix: removed macos window minimize event handler
This commit is contained in:
parent
902341bc1d
commit
1ff8fe0c2e
@ -171,11 +171,6 @@ export class WindowService {
|
|||||||
mainWindow.hide()
|
mainWindow.hide()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
mainWindow.on('minimize', (event) => {
|
|
||||||
event.preventDefault()
|
|
||||||
mainWindow.hide()
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public showMainWindow() {
|
public showMainWindow() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user