poly.length is now a getter

This commit is contained in:
Stewart Allen 2021-09-15 14:18:56 -10:00
commit 8dae05ec1b

View file

@ -780,7 +780,6 @@
if (flat && poly.appearsClosed()) { if (flat && poly.appearsClosed()) {
poly.setClosed(); poly.setClosed();
poly.points.pop(); poly.points.pop();
poly.length--;
} }
output output
.setLayer(opts.action || 'print', printOpt) .setLayer(opts.action || 'print', printOpt)