Only hide window onblur when in production
This commit is contained in:
parent
3d0ea6b417
commit
fe32c11760
1 changed files with 3 additions and 1 deletions
|
@ -90,7 +90,9 @@ app.on("activate", () => {
|
|||
|
||||
// Hide window when out of focus
|
||||
app.on("browser-window-blur", () => {
|
||||
mainWindow.hide();
|
||||
if (!isDev) {
|
||||
mainWindow.hide();
|
||||
}
|
||||
});
|
||||
|
||||
// In this file you can include the rest of your app's specific main process
|
||||
|
|
Reference in a new issue