Persisted features not correctly removed in Handler.Path and freehand mode, p=jorix,me, r=erilem
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12083 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -339,6 +339,9 @@ OpenLayers.Handler.Path = OpenLayers.Class(OpenLayers.Handler.Point, {
|
||||
up: function (evt) {
|
||||
if (this.mouseDown && (!this.lastUp || !this.lastUp.equals(evt.xy))) {
|
||||
if(this.stoppedDown && this.freehandMode(evt)) {
|
||||
if (this.persist) {
|
||||
this.destroyPersistedFeature();
|
||||
}
|
||||
this.removePoint();
|
||||
this.finalize();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user