border radius for all shape

This commit is contained in:
hamid zarghami
2026-07-05 15:52:39 +03:30
parent 46926c66e7
commit 368cace143
8 changed files with 169 additions and 63 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ export function transformViewerDataToPages(data: ViewerData): PageData[] {
if (obj.type === "rectangle" && obj.shapeType) {
baseObject.shapeType = obj.shapeType as EditorObject["shapeType"];
}
if (obj.type === "rectangle" && obj.borderRadius !== undefined) {
if (obj.borderRadius !== undefined) {
baseObject.borderRadius = obj.borderRadius;
}
if (obj.type === "rectangle" && obj.blur !== undefined) {