the drag handler's mouseout func should check if the mouse left the map viewport div as opposed to the map div, r=ahocevar (closes #2941)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10956 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -251,7 +251,7 @@
|
||||
t.ok(evt.xy.x == testEvents.done.xy.x &&
|
||||
evt.xy.y == testEvents.done.xy.y,
|
||||
"mouseout calls Util.mouseLeft with the correct event");
|
||||
t.eq(element.id, map.div.id,
|
||||
t.eq(element.id, map.viewPortDiv.id,
|
||||
"mouseout calls Util.mouseLeft with the correct element");
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user