Remove unnecessary redraws

This commit is contained in:
John Firebaugh
2012-12-06 10:38:51 -05:00
parent 3b79854399
commit fd5874a96b
-3
View File
@@ -38,13 +38,10 @@ iD.Map = function() {
var to = projection.invert([d3.event.x, d3.event.y]);
history.replace(iD.actions.Move(entity, to));
redraw();
})
.on('dragend', function () {
if (!dragEnabled || !dragging) return;
dragging = undefined;
redraw();
}),
background = iD.Background()
.projection(projection)