mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
minor bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
7e5bc7b629
commit
571af08a3d
@ -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)
|
||||||
})
|
})
|
||||||
}],
|
}],
|
||||||
],
|
],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user