OpenLayers OpenLayers

Ticket #1390: 1390-r6386-A0.2.patch

File 1390-r6386-A0.2.patch, 0.7 kB (added by ahocevar, 6 months ago)
  • lib/OpenLayers/Layer/Vector.js

    old new  
    271271 
    272272        if (!dragging) { 
    273273            this.renderer.root.style.visibility = "hidden"; 
     274            // force a reflow on gecko based browsers to actually hide the svg 
     275            if (navigator.userAgent.toLowerCase().indexOf("gecko") != -1) { 
     276                this.div.scrollLeft = this.div.scrollLeft; 
     277            } 
    274278             
    275279            this.div.style.left = -parseInt(this.map.layerContainerDiv.style.left) + "px"; 
    276280            this.div.style.top = -parseInt(this.map.layerContainerDiv.style.top) + "px";