mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
minor tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
e8bdc66c18
commit
e19d04bfd2
@ -398,16 +398,19 @@ module.CurrentImageIndicator = core.ImageGridFeatures.Feature({
|
||||
}, this.config['current-image-indicator-restore-delay'] || 500)
|
||||
}],
|
||||
|
||||
// single image view...
|
||||
// single image view -- fade in indicator after exit...
|
||||
['toggleSingleImage',
|
||||
function(){
|
||||
if(this.toggleSingleImage('?') == 'off'){
|
||||
var m = this.ribbons.viewer.find('.current-marker')
|
||||
this.ribbons.preventTransitions(m)
|
||||
m.hide()
|
||||
|
||||
this.updateCurrentImageIndicator()
|
||||
|
||||
this.ribbons.restoreTransitions(m)
|
||||
m
|
||||
.delay(150)
|
||||
.fadeIn(200, function(){
|
||||
m.css({display: ''})})
|
||||
}
|
||||
}],
|
||||
],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user