Changeset 6808
- Timestamp:
- 04/07/08 11:46:59 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/topp/vespucci/lib/OpenLayers/Layer/Vector.js
r6806 r6808 302 302 if (!dragging) { 303 303 this.renderer.root.style.visibility = "hidden"; 304 // force a reflow on gecko based browsers to actually hide the svg 305 if (navigator.userAgent.toLowerCase().indexOf("gecko") != -1) { 306 this.div.scrollLeft = this.div.scrollLeft; 307 } 304 308 305 309 this.div.style.left = -parseInt(this.map.layerContainerDiv.style.left) + "px"; … … 309 313 310 314 this.renderer.root.style.visibility = "visible"; 315 316 // force a reflow on gecko based browsers to actually hide the svg 317 if (navigator.userAgent.toLowerCase().indexOf("gecko") != -1) { 318 this.div.scrollLeft = this.div.scrollLeft; 319 } 311 320 } 312 321
