Changeset 7578
- Timestamp:
- 07/28/08 17:10:57 (4 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Layer/Vector.js
r7277 r7578 291 291 if (!dragging) { 292 292 this.renderer.root.style.visibility = "hidden"; 293 // force a reflow on gecko based browsers to actually hide the svg294 if (navigator.userAgent.toLowerCase().indexOf("gecko") != -1) {295 this.div.scrollLeft = this.div.scrollLeft;296 }297 293 298 294 this.div.style.left = -parseInt(this.map.layerContainerDiv.style.left) + "px"; … … 302 298 303 299 this.renderer.root.style.visibility = "visible"; 300 301 // Force a reflow on gecko based browsers to prevent jump/flicker. 302 // This seems to happen on only certain configurations; it was originally 303 // noticed in FF 2.0 and Linux. 304 if (navigator.userAgent.toLowerCase().indexOf("gecko") != -1) { 305 this.div.scrollLeft = this.div.scrollLeft; 306 } 304 307 } 305 308
