Skip to content

Commit

Permalink
Fix window bug
Browse files Browse the repository at this point in the history
  • Loading branch information
CS-Tao committed Jul 28, 2020
1 parent b5f7ea3 commit 23617ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,11 @@ function createWindow () {
e.preventDefault()
if (mainWindow) {
mainWindow.hide()
app.dock.hide()
mainWindow.setSkipTaskbar(true)
}
if (app.dock) {
app.dock.hide()
}
}
})

Expand Down

0 comments on commit 23617ad

Please sign in to comment.