mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-14 21:28:11 +02:00
Fixed an issue where non-trivial line components of multipolygons were not rendered as lines
This commit is contained in:
@@ -39,7 +39,7 @@ export function svgTagClasses() {
|
||||
return klass.length && !/^tag-/.test(klass);
|
||||
})
|
||||
.map(function(klass) { // style multipolygon inner/outers as areas not lines
|
||||
return (isMultiPolygon && klass === 'line') ? 'area' : klass;
|
||||
return (isMultiPolygon && klass === 'line' && !entity.hasInterestingTags()) ? 'area' : klass;
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user