Changeset 6564
- Timestamp:
- 03/20/08 03:26:21 (10 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Handler/Feature.js
r5976 r6564 34 34 /** 35 35 * Property: feature 36 * {<OpenLayers.Feature.Vector>} The feature currently being handled.36 * {<OpenLayers.Feature.Vector>} The last feature that was hovered. 37 37 */ 38 38 feature: null, … … 247 247 this.triggerCallback(type, 'out', [this.lastFeature]); 248 248 } 249 // next time the mouse goes in a feature whose geometry type 250 // doesn't match we don't want to call the 'out' callback 251 // again, so let's set this.feature to null so that 252 // previouslyIn will evaluate to false the next time 253 // we enter handle. Yes, a bit hackish... 254 this.feature = null; 249 255 } 250 256 } else {
