From e626d08b58c89e9ccf50fbc29225cef3c5fb32fa Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Tue, 24 Nov 2015 14:17:51 -0500 Subject: [PATCH] Don't transform gpx layer, as it is attached to tiles container This was adding an extra scale transform to the gpx layer, but only while minimap zooming --- js/id/ui/map_in_map.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/js/id/ui/map_in_map.js b/js/id/ui/map_in_map.js index 4f4d95df5..0ca749328 100644 --- a/js/id/ui/map_in_map.js +++ b/js/id/ui/map_in_map.js @@ -55,7 +55,6 @@ iD.ui.MapInMap = function(context) { iD.util.setTransform(tiles, tX, tY, scale); iD.util.setTransform(svg, 0, 0, scale); - iD.util.setTransform(gpx, 0, 0, scale); transformed = true; queueRedraw(); @@ -117,7 +116,6 @@ iD.ui.MapInMap = function(context) { if (transformed) { iD.util.setTransform(tiles, 0, 0); iD.util.setTransform(svg, 0, 0); - iD.util.setTransform(gpx, 0, 0); transformed = false; } }