Fix areas

This commit is contained in:
Tom MacWright
2016-09-06 17:28:20 -04:00
parent 30f24062e2
commit 0931da1591

View File

@@ -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))];
}
}