blue
deploy to danak / build_and_deploy (push) Has been cancelled

This commit is contained in:
hamid zarghami
2026-07-04 14:51:24 +03:30
parent a448ff10de
commit 46926c66e7
10 changed files with 141 additions and 1 deletions
@@ -38,6 +38,7 @@ type ViewerDataPage = {
strokeWidth?: number;
shapeType?: string;
borderRadius?: number;
blur?: number;
imageUrl?: string;
videoUrl?: string;
audioUrl?: string;
@@ -129,6 +130,9 @@ export function transformViewerDataToPages(data: ViewerData): PageData[] {
if (obj.type === "rectangle" && obj.borderRadius !== undefined) {
baseObject.borderRadius = obj.borderRadius;
}
if (obj.type === "rectangle" && obj.blur !== undefined) {
baseObject.blur = obj.blur;
}
if (
(obj.type === "image" || obj.type === "sticker" || obj.type === "document") &&