fix code replace error

This commit is contained in:
Stewart Allen 2024-07-15 10:55:09 -04:00
commit f556bdba34

View file

@ -1942,7 +1942,7 @@ class Polygon {
}
let clip = this.toClipper(),
res = CLIB.Clipper.SimplifyPolygons(clip, FillNonZero);
res = Clipper.SimplifyPolygons(clip, FillNonZero);
if (!(res && res.length)) {
return null;