mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +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,
|
fullscreenable: true,
|
||||||
|
|
||||||
|
// XXX not sure about this...
|
||||||
|
//maximizable: false,
|
||||||
|
|
||||||
//autoHideMenuBar: true,
|
//autoHideMenuBar: true,
|
||||||
})
|
})
|
||||||
// disable default menu...
|
// disable default menu...
|
||||||
@ -165,10 +168,10 @@ function createWindow(){
|
|||||||
function(){ WIN = null })
|
function(){ WIN = null })
|
||||||
|
|
||||||
// devtools...
|
// devtools...
|
||||||
WIN.on('devtools-opened',
|
WIN.webContents.on('devtools-opened',
|
||||||
function(){
|
function(){
|
||||||
WIN && WIN.webContents.executeJavaScript('document.appDevTools = true') })
|
WIN && WIN.webContents.executeJavaScript('document.appDevTools = true') })
|
||||||
WIN.on('devtools-closed',
|
WIN.webContents.on('devtools-closed',
|
||||||
function(){
|
function(){
|
||||||
WIN && WIN.webContents.executeJavaScript('document.appDevTools = false') })
|
WIN && WIN.webContents.executeJavaScript('document.appDevTools = false') })
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user