update raster-path dependency to pick up large array fix

This commit is contained in:
Stewart Allen 2026-01-07 14:53:18 -05:00
commit ce55f395ae
2 changed files with 2 additions and 2 deletions

View file

@ -40,7 +40,7 @@
"@gridspace/app-server": "^0.0.20",
"@gridspace/basic-ftp": "github:gridspace/basic-ftp#v5.0.5-gridspace",
"@gridspace/net-level-client": "^0.2.3",
"@gridspace/raster-path": "^1.1.0",
"@gridspace/raster-path": "^1.1.1",
"@tracespace/parser": "^5.0.0-next.0",
"@tweenjs/tween.js": "^16.6.0",
"aedes": "^0.51.3",

View file

@ -117,7 +117,7 @@ function offset_default(params) {
// mark each poly with depth (offset #) starting at 0
for (let p of polys) {
p.depth = count - onCount;
if (p.fill_off) p.fill_off.forEach(function(pi) {
if (p.fill_off) p.fill_off.forEach((pi) => {
// use negative offset for inners
pi.depth = -(count - onCount);
});