Changeset 5945
- Timestamp:
- 01/30/08 18:16:36 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/topp/nymap/lib/OpenLayers/Handler/Point.js
r5895 r5945 38 38 */ 39 39 useTemporaryLayer: true, 40 41 /**42 * Property: mouseDown43 * {Boolean} The mouse is down44 */45 mouseDown: false,46 40 47 41 /** … … 161 155 finalize: function() { 162 156 this.layer.eraseFeatures(this.point); 163 this.mouseDown = false;164 157 this.lastDown = null; 165 158 this.lastUp = null; … … 174 167 cancel: function() { 175 168 this.layer.eraseFeatures(this.point); 176 this.mouseDown = false;177 169 this.lastDown = null; 178 170 this.lastUp = null; … … 282 274 */ 283 275 mouseup: function (evt) { 284 276 this.finalize(); 277 278 return false; 285 279 }, 286 280
