Merge branch 'master' of github.com:systemed/iD

This commit is contained in:
Tom MacWright
2013-01-16 13:19:05 -05:00
+3 -3
View File
@@ -29,14 +29,14 @@ iD.Map = function() {
var supersurface = selection.append('div')
.style('position', 'absolute')
.on('mousedown.drag', function() {
translateStart = projection.translate();
})
.call(zoom);
surface = supersurface.append('svg')
.on('mouseup.reset-transform', resetTransform)
.on('touchend.reset-transform', resetTransform)
.on('mousedown.drag', function() {
translateStart = projection.translate();
})
.on('mousedown.zoom', function() {
if (d3.event.button == 2) {
d3.event.stopPropagation();