mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-22 19:13:35 +00:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user