mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 13:16:10 +03:00
commit
dafcf7bc14
@ -398,6 +398,7 @@ $.extend( $.Button.prototype, $.EventSource.prototype, /** @lends OpenSeadragon.
|
|||||||
disable: function(){
|
disable: function(){
|
||||||
this.notifyGroupExit();
|
this.notifyGroupExit();
|
||||||
this.element.disabled = true;
|
this.element.disabled = true;
|
||||||
|
this.tracker.setTracking(false);
|
||||||
$.setElementOpacity( this.element, 0.2, true );
|
$.setElementOpacity( this.element, 0.2, true );
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -406,6 +407,7 @@ $.extend( $.Button.prototype, $.EventSource.prototype, /** @lends OpenSeadragon.
|
|||||||
*/
|
*/
|
||||||
enable: function(){
|
enable: function(){
|
||||||
this.element.disabled = false;
|
this.element.disabled = false;
|
||||||
|
this.tracker.setTracking(true);
|
||||||
$.setElementOpacity( this.element, 1.0, true );
|
$.setElementOpacity( this.element, 1.0, true );
|
||||||
this.notifyGroupEnter();
|
this.notifyGroupEnter();
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user