Skip to content

Commit

Permalink
Fix windows glide (#1472)
Browse files Browse the repository at this point in the history
* fix windows glide

* mac only
  • Loading branch information
goosewobbler authored Mar 6, 2023
1 parent 048986f commit e5cd876
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main/windows/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,9 @@ function initTrayWindow() {

setTimeout(() => {
windows.tray.on('focus', () => {
glide = false
if (isMacOS) {
glide = false
}
tray.show()
})
}, 2000)
Expand Down

0 comments on commit e5cd876

Please sign in to comment.