fix accidental error

This commit is contained in:
Vladimir Agafonkin
2013-07-21 19:15:13 +03:00
parent 75a5f35a1c
commit 3cedc84c74
+2 -2
View File
@@ -19,8 +19,8 @@ iD.Tree = function(graph) {
function entityRectangle(entity) {
var rect = extentRectangle(entity.extent(head), entity.id);
rect.id = id;
rectangles[id] = rect;
rect.id = entity.id;
rectangles[entity.id] = rect;
return rect;
}