mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
a1e24d84cb
commit
5390001e5c
@ -137,6 +137,9 @@ function createWindow(){
|
||||
|
||||
fullscreenable: true,
|
||||
|
||||
// XXX not sure about this...
|
||||
//maximizable: false,
|
||||
|
||||
//autoHideMenuBar: true,
|
||||
})
|
||||
// disable default menu...
|
||||
@ -165,10 +168,10 @@ function createWindow(){
|
||||
function(){ WIN = null })
|
||||
|
||||
// devtools...
|
||||
WIN.on('devtools-opened',
|
||||
WIN.webContents.on('devtools-opened',
|
||||
function(){
|
||||
WIN && WIN.webContents.executeJavaScript('document.appDevTools = true') })
|
||||
WIN.on('devtools-closed',
|
||||
WIN.webContents.on('devtools-closed',
|
||||
function(){
|
||||
WIN && WIN.webContents.executeJavaScript('document.appDevTools = false') })
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user