From b14822c569b82cb9d7ecc927661a55580f026219 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Wed, 30 Mar 2011 16:47:08 +0000 Subject: [PATCH] RegularPolygon handler - reverting [11770], as calling cancel from out causes issues (#3199) git-svn-id: http://svn.openlayers.org/trunk/openlayers@11802 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Handler/RegularPolygon.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenLayers/Handler/RegularPolygon.js b/lib/OpenLayers/Handler/RegularPolygon.js index ed7b5e8672..760e5fbb14 100644 --- a/lib/OpenLayers/Handler/RegularPolygon.js +++ b/lib/OpenLayers/Handler/RegularPolygon.js @@ -303,7 +303,7 @@ OpenLayers.Handler.RegularPolygon = OpenLayers.Class(OpenLayers.Handler.Drag, { * evt - {Event} The mouse out event */ out: function(evt) { - this.cancel(); + this.finalize(); }, /**