some cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2016-11-22 20:09:14 +03:00
parent daa00a452c
commit d09413f794

View File

@ -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',