launcher: fix height to prevent scrollbar at init
This commit is contained in:
parent
c5fdab264e
commit
2f651fc9fd
1 changed files with 3 additions and 2 deletions
|
|
@ -19,6 +19,8 @@ module.exports = function(options={}) {
|
|||
backgroundColor: options.color || bgColor,
|
||||
type: options.type,
|
||||
fullscreen: options.fullscreen,
|
||||
useContentSize: true,
|
||||
autoHideMenuBar: true,
|
||||
webPreferences: {
|
||||
nodeIntegration: !!options.node
|
||||
}
|
||||
|
|
@ -54,8 +56,7 @@ module.exports = function(options={}) {
|
|||
|
||||
window.loadURL(options.address)
|
||||
|
||||
|
||||
window.setMenuBarVisibility(false)
|
||||
window.setMenu(null)
|
||||
|
||||
if (options.shortcuts) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue