Changeset 5624
- Timestamp:
- 01/02/08 14:06:07 (1 year ago)
- Files:
-
- trunk/openlayers/lib/OpenLayers/Handler/Point.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Handler/Point.js
r5614 r5624 153 153 finalize: function() { 154 154 this.layer.renderer.clear(); 155 this.callback("done", [this.geometryClone()]);156 this.destroyFeature();157 155 this.drawing = false; 158 156 this.mouseDown = false; 159 157 this.lastDown = null; 160 158 this.lastUp = null; 159 this.callback("done", [this.geometryClone()]); 160 this.destroyFeature(); 161 161 }, 162 162 … … 167 167 cancel: function() { 168 168 this.layer.renderer.clear(); 169 this.callback("cancel", [this.geometryClone()]);170 this.destroyFeature();171 169 this.drawing = false; 172 170 this.mouseDown = false; 173 171 this.lastDown = null; 174 172 this.lastUp = null; 173 this.callback("cancel", [this.geometryClone()]); 174 this.destroyFeature(); 175 175 }, 176 176
