mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
some cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
daa00a452c
commit
d09413f794
@ -437,8 +437,8 @@ module.ViewerActions = actions.Actions({
|
|||||||
// data into ribbons based on target gid... i.e. first
|
// data into ribbons based on target gid... i.e. first
|
||||||
// we know the section we need then align it vertically...
|
// we know the section we need then align it vertically...
|
||||||
this
|
this
|
||||||
.centerImage(gid, null, null, scale)
|
.centerImage(gid)
|
||||||
.centerRibbon(gid, null, null, scale)
|
.centerRibbon(gid)
|
||||||
|
|
||||||
var that = this
|
var that = this
|
||||||
var _align = function(){
|
var _align = function(){
|
||||||
@ -495,8 +495,8 @@ module.ViewerActions = actions.Actions({
|
|||||||
|
|
||||||
// align current ribbon...
|
// align current ribbon...
|
||||||
this
|
this
|
||||||
.centerRibbon(gid)
|
|
||||||
.centerImage(gid)
|
.centerImage(gid)
|
||||||
|
.centerRibbon(gid)
|
||||||
|
|
||||||
var that = this
|
var that = this
|
||||||
//setTimeout(function(){
|
//setTimeout(function(){
|
||||||
@ -1283,8 +1283,8 @@ module.AutoAlignRibbons = core.ImageGridFeatures.Feature({
|
|||||||
// XXX is this correct???
|
// XXX is this correct???
|
||||||
} else {
|
} else {
|
||||||
this
|
this
|
||||||
.centerRibbon(target, null, null, scale)
|
.centerRibbon(target)
|
||||||
.centerImage(target, null, null, scale)
|
.centerImage(target)
|
||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
toggleRibbonAlignMode : ['Interface/Toggle ribbon align mode',
|
toggleRibbonAlignMode : ['Interface/Toggle ribbon align mode',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user