mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
minor fix + notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
1678298443
commit
e785f82833
@ -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',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user