Don't attempt clever way movement with areas.

This commit is contained in:
Bryan Housel
2015-03-05 16:49:04 -05:00
parent 3adcd85c89
commit bf1270908b
+2
View File
@@ -51,6 +51,8 @@ iD.actions.Move = function(moveIds, tryDelta, projection, cache) {
unmoved = _.find(parents, function(way) { return !cache.moving[way.id]; });
if (!unmoved) return;
if (moved.isArea() || unmoved.isArea()) return;
cache.intersection[node.id] = {
nodeId: node.id,
movedId: moved.id,