mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
several bugs squashed...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
9cfab342e5
commit
c399d4299e
@ -841,6 +841,7 @@ module.ViewerActions = actions.Actions({
|
|||||||
flipHorizontal: [
|
flipHorizontal: [
|
||||||
function(target){ this.ribbons.flipHorizontal(target, 'view') }],
|
function(target){ this.ribbons.flipHorizontal(target, 'view') }],
|
||||||
|
|
||||||
|
// XXX this needs an interactive mode -- mark A, mark B, align between
|
||||||
alignToRibbon: [ reloadAfter(true) ],
|
alignToRibbon: [ reloadAfter(true) ],
|
||||||
|
|
||||||
// tags...
|
// tags...
|
||||||
|
|||||||
@ -2177,14 +2177,13 @@ var DataPrototype = {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if(base[set] == null){
|
var s = base[set] = base[set] || {}
|
||||||
base[set] = {key: base.makeSparseImages(list)}
|
|
||||||
|
|
||||||
} else if(base[set][key] == null){
|
if(s[key] == null){
|
||||||
base[set][key] = base.makeSparseImages(list)
|
base[set][key] = base.makeSparseImages(list)
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
base[set][key] = base.makeSparseImages(base[set][key].concat(list))
|
s[key] = base.makeSparseImages(s[key].concat(list))
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user