minor bugfix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2016-12-07 03:05:31 +03:00
parent 7e5bc7b629
commit 571af08a3d

View File

@ -1972,7 +1972,7 @@ var ControlActions = actions.Actions({
var rl = r.offset().left var rl = r.offset().left
if(!center_off_screen){ if(!center_off_screen && central == null){
var gid = this.data.getImage(rl < 0 ? -1 : 0, rgid) var gid = this.data.getImage(rl < 0 ? -1 : 0, rgid)
var central = this.ribbons.getImage(gid) var central = this.ribbons.getImage(gid)
} }
@ -2384,7 +2384,7 @@ module.Control = core.ImageGridFeatures.Feature({
function(){ function(){
var that = this var that = this
Object.keys(this.data.ribbons).forEach(function(r){ Object.keys(this.data.ribbons).forEach(function(r){
that.makeRibbonVisible(r) //that.makeRibbonVisible(r)
}) })
}], }],
], ],