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