Changeset 6026
- Timestamp:
- 02/07/08 15:14:44 (10 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/topp/olmerge/lib/OpenLayers/Control/DragFeature.mid.js
r6024 r6026 147 147 */ 148 148 timeTolerance: 400, 149 150 /**151 * Property: oldZIndex152 * The old z-index of the node being dragged. When being dragged, the153 * feature will be given the highest z-index so the user can see it;154 * after the drag has completed, the feature will have its old155 * z-index reverted.156 */157 oldZIndex: null,158 149 159 150 /** … … 287 278 featureCenter.y - this.startPixel.y); 288 279 289 this.oldZIndex = this.feature.style.graphicZIndex;290 280 }, 291 281 … … 342 332 */ 343 333 doneDragging: function(pixel) { 344 345 // Revert the z-index.346 this.feature.style.graphicZIndex = this.oldZIndex;347 334 348 335 // Check tolerance.
