more fixes...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-05-04 01:09:32 +03:00
parent f1c3e58465
commit 1b6fb7a7d1

View File

@ -199,6 +199,7 @@ var CurrentImageIndicatorActions = actions.Actions({
var min_border = this.config['current-image-min-border']
var border_timeout = this.config['current-image-border-timeout']
/*/ XXX at this point we do not need size updating...
var w = cur.outerWidth(true)
var h = cur.outerHeight(true)
@ -214,6 +215,7 @@ var CurrentImageIndicatorActions = actions.Actions({
css.width = ''
css.height = ''
}
//*/
// update border...
if(update_border !== false){
@ -333,6 +335,10 @@ module.CurrentImageIndicator = core.ImageGridFeatures.Feature({
// XXX is it a good idea to used the same timers for all instances???
var makeIndicatorHiderOnFastAction = function(hide_timeout){
return function(){
if(this.toggleSingleImage('?') == 'on'){
return
}
var that = this
var m = this.ribbons.viewer.find('.current-marker')
var t = this.config[hide_timeout]