mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
minor fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
5c4f9642c7
commit
de0136c614
@ -7,6 +7,7 @@
|
|||||||
@image-tile-size: 300px;
|
@image-tile-size: 300px;
|
||||||
// XXX current used version of node-webkit (0.8) is buggy with this...
|
// XXX current used version of node-webkit (0.8) is buggy with this...
|
||||||
// -- ribbons are not sized horizpntally correctly...
|
// -- 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: 100vmin;
|
||||||
//@image-tile-size: 100vmax;
|
//@image-tile-size: 100vmax;
|
||||||
|
|
||||||
|
|||||||
@ -115,7 +115,7 @@ var AppControlActions = actions.Actions({
|
|||||||
|
|
||||||
// change the state only if the target state is not the same
|
// change the state only if the target state is not the same
|
||||||
// as the current state...
|
// as the current state...
|
||||||
if((w.isFullscreen() ? 'on' : 'off') != action){
|
if((w.isFullscreen ? 'on' : 'off') != action){
|
||||||
this.ribbons.preventTransitions()
|
this.ribbons.preventTransitions()
|
||||||
|
|
||||||
// hide the viewer to hide any animation crimes...
|
// hide the viewer to hide any animation crimes...
|
||||||
|
|||||||
@ -98,6 +98,7 @@ function listJSON(path, pattern){
|
|||||||
var denodeify = function(func){
|
var denodeify = function(func){
|
||||||
return function(){
|
return function(){
|
||||||
// XXX for some reason this does not see args2array...
|
// XXX for some reason this does not see args2array...
|
||||||
|
// XXX and for some reason the error is not reported...
|
||||||
var args = [].slice.call(arguments)
|
var args = [].slice.call(arguments)
|
||||||
return new Promise(function(resolve, reject){
|
return new Promise(function(resolve, reject){
|
||||||
func.apply(null, args.concat([function(err, res){
|
func.apply(null, args.concat([function(err, res){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user