minor fix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2016-04-15 06:03:03 +03:00
parent 5c4f9642c7
commit de0136c614
3 changed files with 3 additions and 1 deletions

View File

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

View File

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

View File

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