mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-30 17:00:35 +02:00
Add additional comment to close nodes validation
This commit is contained in:
@@ -56,6 +56,7 @@ export function validationCloseNodes(context) {
|
||||
(way.isClosed() && way.nodes.length <= 4)) return false;
|
||||
|
||||
var featureType = featureTypeForWay(way);
|
||||
// don't flag boundaries since they might be highly detailed and can't be easily verified
|
||||
if (featureType === 'boundary') return false;
|
||||
|
||||
var bbox = way.extent(graph).bbox();
|
||||
|
||||
Reference in New Issue
Block a user