mouseout callbacks should check if the mouse leaves map.eventsDiv instead of map.div or map.viewPortDiv, p=jorix, r=me (closes #3239)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11861 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -563,7 +563,7 @@ OpenLayers.Handler.Point = OpenLayers.Class(OpenLayers.Handler, {
|
||||
* evt - {Event} The browser event
|
||||
*/
|
||||
mouseout: function(evt) {
|
||||
if(OpenLayers.Util.mouseLeft(evt, this.map.viewPortDiv)) {
|
||||
if(OpenLayers.Util.mouseLeft(evt, this.map.eventsDiv)) {
|
||||
this.stoppedDown = this.stopDown;
|
||||
this.mouseDown = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user