mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-02-08 02:49:22 +03:00
MouseTracker Original Events in Handlers
Bug fixes. Event handler methods shouldn't be called directly in theory...
This commit is contained in:
parent
8229a9aba5
commit
2e1f71a824
@ -119,7 +119,7 @@ $.ButtonGroup.prototype = {
|
|||||||
* @name OpenSeadragon.ButtonGroup.prototype.emulateEnter
|
* @name OpenSeadragon.ButtonGroup.prototype.emulateEnter
|
||||||
*/
|
*/
|
||||||
emulateEnter: function() {
|
emulateEnter: function() {
|
||||||
this.tracker.enterHandler();
|
this.tracker.enterHandler( this.tracker, {} );
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -129,7 +129,7 @@ $.ButtonGroup.prototype = {
|
|||||||
* @name OpenSeadragon.ButtonGroup.prototype.emulateExit
|
* @name OpenSeadragon.ButtonGroup.prototype.emulateExit
|
||||||
*/
|
*/
|
||||||
emulateExit: function() {
|
emulateExit: function() {
|
||||||
this.tracker.exitHandler();
|
this.tracker.exitHandler( this.tracker, {} );
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -730,7 +730,7 @@ $.extend( $.Viewer.prototype, $.EventHandler.prototype, $.ControlDock.prototype,
|
|||||||
THIS[ this.hash ].fullPage = true;
|
THIS[ this.hash ].fullPage = true;
|
||||||
|
|
||||||
// mouse will be inside container now
|
// mouse will be inside container now
|
||||||
$.delegate( this, onContainerEnter )();
|
$.delegate( this, onContainerEnter )( null, {} );
|
||||||
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
@ -789,7 +789,7 @@ $.extend( $.Viewer.prototype, $.EventHandler.prototype, $.ControlDock.prototype,
|
|||||||
THIS[ this.hash ].fullPage = false;
|
THIS[ this.hash ].fullPage = false;
|
||||||
|
|
||||||
// mouse will likely be outside now
|
// mouse will likely be outside now
|
||||||
$.delegate( this, onContainerExit )();
|
$.delegate( this, onContainerExit )( null, {} );
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user