minor tweaking...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2016-05-08 15:58:22 +03:00
parent 01fc68ae92
commit 28708baf62
4 changed files with 6 additions and 4 deletions

View File

@ -303,6 +303,8 @@ button:hover {
opacity: 0.4;
size: 30px;
cursor: default;
}
.fullscreen-controls:hover {
opacity: 1;

View File

@ -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)
}],

View File

@ -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

View File

@ -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",