mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
minor tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
01fc68ae92
commit
28708baf62
@ -303,6 +303,8 @@ button:hover {
|
|||||||
opacity: 0.4;
|
opacity: 0.4;
|
||||||
|
|
||||||
size: 30px;
|
size: 30px;
|
||||||
|
|
||||||
|
cursor: default;
|
||||||
}
|
}
|
||||||
.fullscreen-controls:hover {
|
.fullscreen-controls:hover {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
|||||||
@ -54,6 +54,7 @@ var AppControlActions = actions.Actions({
|
|||||||
}],
|
}],
|
||||||
restoreWindowGeometry: ['- Interface/Restore window state',
|
restoreWindowGeometry: ['- Interface/Restore window state',
|
||||||
function(){
|
function(){
|
||||||
|
var that = this
|
||||||
// or global.window.nwDispatcher.requireNwGui()
|
// or global.window.nwDispatcher.requireNwGui()
|
||||||
// (see: https://github.com/rogerwang/node-webkit/issues/707)
|
// (see: https://github.com/rogerwang/node-webkit/issues/707)
|
||||||
var win = nw.Window.get()
|
var win = nw.Window.get()
|
||||||
@ -100,7 +101,7 @@ var AppControlActions = actions.Actions({
|
|||||||
|
|
||||||
// XXX check if we are full screen...
|
// XXX check if we are full screen...
|
||||||
if(cfg != null && cfg.fullscreen && !win.isFullscreen){
|
if(cfg != null && cfg.fullscreen && !win.isFullscreen){
|
||||||
this.toggleFullScreen('on')
|
that.toggleFullScreen('on')
|
||||||
}
|
}
|
||||||
}, this.config['window-delay-initial-display'] || 0)
|
}, this.config['window-delay-initial-display'] || 0)
|
||||||
}],
|
}],
|
||||||
|
|||||||
@ -388,6 +388,7 @@ module.makeUIDialog = function(a, b){
|
|||||||
|
|
||||||
var makeDrawer = function(direction){
|
var makeDrawer = function(direction){
|
||||||
return makeUIContainer(function(dialog, options){
|
return makeUIContainer(function(dialog, options){
|
||||||
|
var that = this
|
||||||
var parent = (options || {}).parentElement
|
var parent = (options || {}).parentElement
|
||||||
parent = parent ? $(parent) : this.ribbons.viewer
|
parent = parent ? $(parent) : this.ribbons.viewer
|
||||||
|
|
||||||
|
|||||||
@ -13,9 +13,7 @@
|
|||||||
"toolbar": false,
|
"toolbar": false,
|
||||||
"show": false
|
"show": false
|
||||||
},
|
},
|
||||||
"webkit": {
|
"chromium-args": "",
|
||||||
"page-cache": true
|
|
||||||
},
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"app-module-path": "^1.0.6",
|
"app-module-path": "^1.0.6",
|
||||||
"commander": "^2.9.0",
|
"commander": "^2.9.0",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user