Skip to content

Commit

Permalink
fix typo (#7983)
Browse files Browse the repository at this point in the history
  • Loading branch information
cs09g authored and mourner committed Mar 4, 2019
1 parent 434d03d commit d417470
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/classify_rings.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default function classifyRings(rings: Array<Array<Point>>, maxRings: numb
}
if (polygon) polygons.push(polygon);

// Earcut performance degrages with the # of rings in a polygon. For this
// Earcut performance degrades with the # of rings in a polygon. For this
// reason, we limit strip out all but the `maxRings` largest rings.
if (maxRings > 1) {
for (let j = 0; j < polygons.length; j++) {
Expand Down

0 comments on commit d417470

Please sign in to comment.