mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
6f77e6116b
commit
eb589f4eb9
@ -214,8 +214,7 @@ var NWHostActions = actions.Actions({
|
||||
// XXX get the devtools stage...
|
||||
return false }
|
||||
nw.Window.get().showDevTools &&
|
||||
nw.Window.get().showDevTools()
|
||||
}],
|
||||
nw.Window.get().showDevTools() }],
|
||||
showInFolder: ['File|Image/Show in $folder',
|
||||
function(image){
|
||||
image = this.images[this.data.getImage(image)]
|
||||
@ -224,8 +223,7 @@ var NWHostActions = actions.Actions({
|
||||
var filename = image.path
|
||||
var path = pathlib.normalize(base + '/' + filename)
|
||||
|
||||
nw.Shell.showItemInFolder(path)
|
||||
}],
|
||||
nw.Shell.showItemInFolder(path) }],
|
||||
|
||||
toggleSplashScreen: ['Interface/',
|
||||
{mode: 'advancedBrowseModeAction'},
|
||||
@ -270,18 +268,11 @@ var ElectronHostActions = actions.Actions({
|
||||
value
|
||||
&& window.moveTo(...value) },
|
||||
|
||||
// XXX revise...
|
||||
// XXX need to handle mazimize correctly -- see e.js...
|
||||
// XXX need to handle maximize correctly -- see e.js...
|
||||
// XXX do we need .hide(..) here???
|
||||
show: ['- Window/',
|
||||
function(){
|
||||
electron.ipcRenderer.send('show') }],
|
||||
// if(electron.remote.getGlobal('readyToShow')){
|
||||
// electron.remote.getCurrentWindow().show()
|
||||
// } else {
|
||||
// var win = electron.remote.getCurrentWindow()
|
||||
// win.once('ready-to-show',
|
||||
// function(){ win.show() }) } }],
|
||||
minimize: ['Window/Minimize',
|
||||
function(){
|
||||
electron.ipcRenderer.send('minimize') }],
|
||||
|
||||
4
Viewer/package-lock.json
generated
4
Viewer/package-lock.json
generated
@ -28,8 +28,8 @@
|
||||
"ig-types": "^6.0.9",
|
||||
"json5": "^2.2.0",
|
||||
"object-run": "^1.0.1",
|
||||
"requirejs": "^2.3.6",
|
||||
"requirejs-plugins": "^1.0.2",
|
||||
"requirejs": "*",
|
||||
"requirejs-plugins": "*",
|
||||
"sharp": "^0.25.4",
|
||||
"v8-compile-cache": "^2.2.0",
|
||||
"wildglob": "^0.1.1"
|
||||
|
||||
@ -38,8 +38,8 @@
|
||||
"ig-types": "^6.0.9",
|
||||
"json5": "^2.2.0",
|
||||
"object-run": "^1.0.1",
|
||||
"requirejs": "^2.3.6",
|
||||
"requirejs-plugins": "^1.0.2",
|
||||
"requirejs": "*",
|
||||
"requirejs-plugins": "*",
|
||||
"sharp": "^0.25.4",
|
||||
"v8-compile-cache": "^2.2.0",
|
||||
"wildglob": "^0.1.1"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user