Fix typo triggering too many redraws

This commit is contained in:
Ansis Brammanis
2013-02-12 15:34:26 -05:00
parent 275e8741cd
commit 7554c7445d

View File

@@ -43,7 +43,7 @@ iD.Map = function(context) {
}
}, true)
.on('mouseup.zoom', function() {
if (resetTransform) redraw();
if (resetTransform()) redraw();
})
.attr('id', 'surface')
.call(iD.svg.Surface());