mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-31 17:20:30 +02:00
Fix zooming then dragging
This commit is contained in:
@@ -265,6 +265,7 @@ iD.Map = function(elem) {
|
||||
t[0] += (width / 2) - l[0];
|
||||
t[1] += (height / 2) - l[1];
|
||||
projection.translate(t);
|
||||
zoombehavior.translate(projection.translate());
|
||||
|
||||
drawVector();
|
||||
redraw();
|
||||
|
||||
Reference in New Issue
Block a user