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:
Éric Lemoine
2011-04-03 12:47:14 +00:00
parent cf311ee532
commit adbd2405ca
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -442,7 +442,7 @@ OpenLayers.Handler.Drag = OpenLayers.Class(OpenLayers.Handler, {
* {Boolean} Let the event propagate.
*/
mouseout: function (evt) {
if (this.started && OpenLayers.Util.mouseLeft(evt, this.map.viewPortDiv)) {
if (this.started && OpenLayers.Util.mouseLeft(evt, this.map.eventsDiv)) {
if(this.documentDrag === true) {
this.addDocumentEvents();
} else {