minor fix + notes...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-05-16 21:11:23 +03:00
parent 1678298443
commit e785f82833

View File

@ -298,14 +298,17 @@ module.CurrentImageIndicator = core.ImageGridFeatures.Feature({
// next .focusImage(..) // next .focusImage(..)
['ribbonPanning.pre', ['ribbonPanning.pre',
function(){ function(){
/* XXX do we need to restore after pan???
this.__current_image_indicator_restore_timeout this.__current_image_indicator_restore_timeout
&& clearTimeout(this.__current_image_indicator_restore_timeout) && clearTimeout(this.__current_image_indicator_restore_timeout)
delete this.__current_image_indicator_restore_timeout delete this.__current_image_indicator_restore_timeout
//*/
this.dom this.dom
.find('.current-marker') .find('.current-marker')
.velocity({opacity: 0}, { duration: 100 }) .velocity({opacity: 0}, { duration: 100 })
}], }],
/* XXX do we need to restore after pan???
['ribbonPanning.post', ['ribbonPanning.post',
function(){ function(){
var that = this var that = this
@ -317,6 +320,7 @@ module.CurrentImageIndicator = core.ImageGridFeatures.Feature({
.velocity({opacity: 1}, { duration: 100 }) .velocity({opacity: 1}, { duration: 100 })
}, this.config['current-image-indicator-restore-delay'] || 500) }, this.config['current-image-indicator-restore-delay'] || 500)
}], }],
//*/
// single image view -- fade in indicator after exit... // single image view -- fade in indicator after exit...
['toggleSingleImage', ['toggleSingleImage',