OpenLayers OpenLayers

Ticket #1390: second-reflow.patch

File second-reflow.patch, 0.6 kB (added by tcoulter, 5 months ago)

A second reflow block to ensure things are set back to visible.

  • Vector.js

    old new  
    292292            this.renderer.setExtent(extent); 
    293293             
    294294            this.renderer.root.style.visibility = "visible"; 
     295             
     296            // force a reflow on gecko based browsers to actually hide the svg 
     297            if (navigator.userAgent.toLowerCase().indexOf("gecko") != -1) { 
     298                this.div.scrollLeft = this.div.scrollLeft; 
     299            } 
    295300        } 
    296301         
    297302        if (!this.drawn || zoomChanged) {