Ticket #1364: perf.patch
| File perf.patch, 0.8 kB (added by crschmidt, 8 months ago) |
|---|
-
lib/OpenLayers/Tile/Image.js
old new 394 394 this.frame.style.display = ''; 395 395 // Force a reflow on gecko based browsers to actually show the element 396 396 // before continuing execution. 397 if (navigator.userAgent.toLowerCase().indexOf("gecko") != -1) { 398 this.frame.scrollLeft = this.frame.scrollLeft; 399 } 397 if (OpenLayers.Util.indexOf(this.layer.SUPPORTED_TRANSITIONS, 398 this.layer.transitionEffect) != -1) { 399 if (navigator.userAgent.toLowerCase().indexOf("gecko") != -1) { 400 this.frame.scrollLeft = this.frame.scrollLeft; 401 } 402 } 400 403 }, 401 404 402 405 /**
