when drawing a regular polygon cancel drawing instead of finalizing when the mouse leaves the map, p=jorix, r=me,sbrunner (closes #3199)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@11770 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Éric Lemoine
2011-03-30 08:16:47 +00:00
parent c15ffab9bc
commit 637dddf3b2

View File

@@ -303,7 +303,7 @@ OpenLayers.Handler.RegularPolygon = OpenLayers.Class(OpenLayers.Handler.Drag, {
* evt - {Event} The mouse out event
*/
out: function(evt) {
this.finalize();
this.cancel();
},
/**