This commit is contained in:
李志鹏
2026-01-30 14:12:17 +08:00
parent 8588c74ffd
commit 0e0eed2566
3 changed files with 6 additions and 2 deletions

View File

@@ -1486,6 +1486,9 @@ backgroundObject.scaleY,'CanvasManager resetCanvasSizeByFixedLayer')
if (a.isBackground) return -1;
if (b.isBackground) return 1;
})
// 排除的对象id
const excludedObjects = [SpecialLayerId.PART_SELECTOR];
json.canvas.objects = objects.filter((v) => !excludedObjects.includes(v.id));
}