mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
fixed a small bug in current image indicator...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
6de70e7b98
commit
b9dcfb4f84
@ -1555,7 +1555,12 @@ progress:not(value)::-webkit-progress-bar {
|
||||
background-color: transparent;
|
||||
}
|
||||
.single-image-mode.viewer .current-marker {
|
||||
display: none;
|
||||
/* NOTE: !important here fixes the jQuery habit of explicitly
|
||||
setting display on .show(..)/.hide(..)/.fadeIn(..)/...
|
||||
...if this proves to be a problem, use visibility instead
|
||||
of !important...
|
||||
*/
|
||||
display: none !important;
|
||||
}
|
||||
.single-image-mode.viewer .image {
|
||||
background-color: transparent;
|
||||
|
||||
@ -328,7 +328,10 @@ module.CurrentImageIndicator = core.ImageGridFeatures.Feature({
|
||||
var ribbons = this.ribbons
|
||||
var fadein = this.config['current-image-indicator-fadein']
|
||||
this._current_image_indicator_timeout = setTimeout(function(){
|
||||
ribbons.viewer.find('.current-marker').fadeIn(fadein)
|
||||
var m = ribbons.viewer.find('.current-marker')
|
||||
.fadeIn(fadein, function(){
|
||||
m.css({display: ''})
|
||||
})
|
||||
}, this.config['current-image-shift-timeout'])
|
||||
}
|
||||
}],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user