Skip to content

Commit

Permalink
dont fade/blink tile images
Browse files Browse the repository at this point in the history
  • Loading branch information
BillyGalbreath committed May 31, 2024
1 parent 03efc40 commit f7485d9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion web/src/layer/LiveTileLayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export class LiveTileLayer extends L.TileLayer {
tile.setAttribute('loaded', 'true');
}

_tileOnError(done: L.DoneCallback, tile: HTMLElement, e: Error): void {
_tileOnError(done: L.DoneCallback, tile: HTMLImageElement, e: Error): void {
super._tileOnError(done, tile, e);
tile.setAttribute('loaded', 'false');
}
Expand Down
1 change: 0 additions & 1 deletion web/src/scss/livemap.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ img.leaflet-tile {
image-rendering: -moz-crisp-edges;
border: 0 !important;
opacity: 1;
transition: opacity .5s;

/* See: https://github.com/GoogleChrome/lighthouse/issues/15497#issuecomment-2047385179 */
mix-blend-mode: color-dodge !important;
Expand Down

0 comments on commit f7485d9

Please sign in to comment.