diff --git a/css/80_app.css b/css/80_app.css index 854b68c12..28a9da4b8 100644 --- a/css/80_app.css +++ b/css/80_app.css @@ -4368,9 +4368,10 @@ img.tile { transition: opacity 120ms linear; } -/* Workaround to remove visible grid around tile borders on Chrome */ -/* Only works with browser zoom multiple of 25 (75%, 100%, 125%...) */ -/* Should be removed when https://issues.chromium.org/issues/40084005 is resolved */ +/* Workaround to remove visible grid around tile borders on Chrome + Only works with browser zoom multiple of 25 (75%, 100%, 125%...) + Should be removed when https://issues.chromium.org/issues/40084005 is resolved. + See https://github.com/openstreetmap/iD/pull/10594 */ @media (-webkit-device-pixel-ratio = 1) or (-webkit-device-pixel-ratio = 1.25) or (-webkit-device-pixel-ratio = 1.5) or (-webkit-device-pixel-ratio = 1.75) or (-webkit-device-pixel-ratio = 2) or (-webkit-device-pixel-ratio = 2.25) or (-webkit-device-pixel-ratio = 2.5) or (-webkit-device-pixel-ratio = 2.75) or (-webkit-device-pixel-ratio = 3) or (-webkit-device-pixel-ratio = 3.25) or (-webkit-device-pixel-ratio = 3.5) or (-webkit-device-pixel-ratio = 3.75) diff --git a/modules/renderer/tile_layer.js b/modules/renderer/tile_layer.js index 34d2d08fb..5feac6b56 100644 --- a/modules/renderer/tile_layer.js +++ b/modules/renderer/tile_layer.js @@ -19,6 +19,7 @@ export function rendererTileLayer(context) { // Workaround to remove visible grid around tile borders on Chrome with dynamic epsilon for specific browser zoom levels // Should be removed when https://issues.chromium.org/issues/40084005 is resolved + // See https://github.com/openstreetmap/iD/pull/10594 if (window.chrome) { updateEpsilon(); window.addEventListener('resize', updateEpsilon);