Fix flashing, reset transform on mouseup

This commit is contained in:
Ansis Brammanis
2013-02-07 17:18:44 -05:00
parent 57493016b6
commit ec065dca4c

View File

@@ -42,6 +42,9 @@ iD.Map = function(context) {
d3.event.stopPropagation();
}
}, true)
.on('mouseup.zoom', function() {
if (resetTransform) redraw();
})
.attr('id', 'surface')
.call(iD.svg.Surface());