Skip to content

Commit

Permalink
Remove prefWindow max/min buttons. Always on top.
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Stone committed Dec 14, 2017
1 parent c76e444 commit 5bfec43
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,10 @@ function createPreferencesWindow(callback) {
resizable: false,
show: false,
alwaysOnTop: true,
frame: false,
acceptFirstMouse: true,
hasShadow: true
frame: true,
hasShadow: true,
minimizable: false,
maximizable: false
})

// preferencesWindow.installedBrowsers = installedBrowsers
Expand All @@ -230,10 +231,6 @@ function createPreferencesWindow(callback) {
}
})

preferencesWindow.on('blur', () => {
preferencesWindow.hide()
})

if (callback) {
callback()
}
Expand Down

0 comments on commit 5bfec43

Please sign in to comment.