From 571af08a3d5ace7f5cbabf4e932b52cc83843002 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 7 Dec 2016 03:05:31 +0300 Subject: [PATCH] minor bugfix... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/ui.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui (gen4)/features/ui.js b/ui (gen4)/features/ui.js index 15df0672..045b4ef5 100755 --- a/ui (gen4)/features/ui.js +++ b/ui (gen4)/features/ui.js @@ -1972,7 +1972,7 @@ var ControlActions = actions.Actions({ 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 central = this.ribbons.getImage(gid) } @@ -2384,7 +2384,7 @@ module.Control = core.ImageGridFeatures.Feature({ function(){ var that = this Object.keys(this.data.ribbons).forEach(function(r){ - that.makeRibbonVisible(r) + //that.makeRibbonVisible(r) }) }], ],