mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
more fixes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
f1c3e58465
commit
1b6fb7a7d1
@ -199,6 +199,7 @@ var CurrentImageIndicatorActions = actions.Actions({
|
|||||||
var min_border = this.config['current-image-min-border']
|
var min_border = this.config['current-image-min-border']
|
||||||
var border_timeout = this.config['current-image-border-timeout']
|
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 w = cur.outerWidth(true)
|
||||||
var h = cur.outerHeight(true)
|
var h = cur.outerHeight(true)
|
||||||
|
|
||||||
@ -214,6 +215,7 @@ var CurrentImageIndicatorActions = actions.Actions({
|
|||||||
css.width = ''
|
css.width = ''
|
||||||
css.height = ''
|
css.height = ''
|
||||||
}
|
}
|
||||||
|
//*/
|
||||||
|
|
||||||
// update border...
|
// update border...
|
||||||
if(update_border !== false){
|
if(update_border !== false){
|
||||||
@ -318,8 +320,8 @@ module.CurrentImageIndicator = core.ImageGridFeatures.Feature({
|
|||||||
function(){
|
function(){
|
||||||
if(this.toggleSingleImage('?') == 'off'){
|
if(this.toggleSingleImage('?') == 'off'){
|
||||||
this.ribbons.viewer.find('.current-marker')
|
this.ribbons.viewer.find('.current-marker')
|
||||||
.delay(150)
|
.delay(150)
|
||||||
.animate({opacity: 1}, 100)
|
.animate({opacity: 1}, 100)
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
this.ribbons.viewer.find('.current-marker')
|
this.ribbons.viewer.find('.current-marker')
|
||||||
@ -333,6 +335,10 @@ module.CurrentImageIndicator = core.ImageGridFeatures.Feature({
|
|||||||
// XXX is it a good idea to used the same timers for all instances???
|
// XXX is it a good idea to used the same timers for all instances???
|
||||||
var makeIndicatorHiderOnFastAction = function(hide_timeout){
|
var makeIndicatorHiderOnFastAction = function(hide_timeout){
|
||||||
return function(){
|
return function(){
|
||||||
|
if(this.toggleSingleImage('?') == 'on'){
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
var that = this
|
var that = this
|
||||||
var m = this.ribbons.viewer.find('.current-marker')
|
var m = this.ribbons.viewer.find('.current-marker')
|
||||||
var t = this.config[hide_timeout]
|
var t = this.config[hide_timeout]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user