feat: image cropping (#8613)

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
This commit is contained in:
Ryan Di
2024-10-22 04:26:52 +08:00
committed by GitHub
parent eb09b48ae6
commit e957c8e9ee
36 changed files with 2199 additions and 92 deletions

View File

@@ -258,6 +258,7 @@ const restoreElement = (
status: element.status || "pending",
fileId: element.fileId,
scale: element.scale || [1, 1],
crop: element.crop ?? null,
});
case "line":
// @ts-ignore LEGACY type