From de0136c6142f9a9962eadc01c7cf48dc41d46859 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 15 Apr 2016 06:03:03 +0300 Subject: [PATCH] minor fix... Signed-off-by: Alex A. Naanou --- ui (gen4)/css/layout.less | 1 + ui (gen4)/features/app.js | 2 +- ui (gen4)/file.js | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ui (gen4)/css/layout.less b/ui (gen4)/css/layout.less index 1afec477..37101412 100755 --- a/ui (gen4)/css/layout.less +++ b/ui (gen4)/css/layout.less @@ -7,6 +7,7 @@ @image-tile-size: 300px; // XXX current used version of node-webkit (0.8) is buggy with this... // -- ribbons are not sized horizpntally correctly... +// XXX these need the marks to be sized in a relative manner... //@image-tile-size: 100vmin; //@image-tile-size: 100vmax; diff --git a/ui (gen4)/features/app.js b/ui (gen4)/features/app.js index 3371eb29..795c24a1 100755 --- a/ui (gen4)/features/app.js +++ b/ui (gen4)/features/app.js @@ -115,7 +115,7 @@ var AppControlActions = actions.Actions({ // change the state only if the target state is not the same // as the current state... - if((w.isFullscreen() ? 'on' : 'off') != action){ + if((w.isFullscreen ? 'on' : 'off') != action){ this.ribbons.preventTransitions() // hide the viewer to hide any animation crimes... diff --git a/ui (gen4)/file.js b/ui (gen4)/file.js index 712856bb..9fbc6c00 100755 --- a/ui (gen4)/file.js +++ b/ui (gen4)/file.js @@ -98,6 +98,7 @@ function listJSON(path, pattern){ var denodeify = function(func){ return function(){ // XXX for some reason this does not see args2array... + // XXX and for some reason the error is not reported... var args = [].slice.call(arguments) return new Promise(function(resolve, reject){ func.apply(null, args.concat([function(err, res){