Skip to content

Commit 66682b7

Browse files
authored
Update building.js
1 parent e906116 commit 66682b7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/building.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ class Building {
414414

415415
/**
416416
* Check if any point in a part is within this building's outline.
417-
* It only checknof points are inside, not if crossing events occur, or
417+
* It only checks if points are inside, not if crossing events occur, or
418418
* if the part completly surrounds the building.
419419
* @param {BuildingPart} part - the part to be tested
420420
* @returns {bool} is it?
@@ -426,6 +426,8 @@ class Building {
426426
return true;
427427
}
428428
}
429+
// @todo
430+
// return BuildingShapeUtils.surrounds(this.outerElement.shape, part.center);
429431
return false;
430432
}
431433
}

0 commit comments

Comments
 (0)