mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
Fix areas
This commit is contained in:
@@ -117,7 +117,7 @@ export function Areas(projection) {
|
||||
}).left;
|
||||
|
||||
function sortedByArea(entity) {
|
||||
if (this.__data__ === 'fill') {
|
||||
if (this._parent.__data__ === 'fill') {
|
||||
return fills[bisect(fills, -entity.area(graph))];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user