From 6f58a62dd54288f5861538a453e9c29a1b12297a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20S=C3=A1nchez?= Date: Mon, 15 Apr 2024 17:33:16 +0200 Subject: [PATCH] minimal attributes --- ui-src/lib/types/shape/shapeAttributes.d.ts | 7 ------- ui-src/lib/types/shape/shapeBaseAttributes.ts | 1 + 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/ui-src/lib/types/shape/shapeAttributes.d.ts b/ui-src/lib/types/shape/shapeAttributes.d.ts index 83a311e..ef07eb7 100644 --- a/ui-src/lib/types/shape/shapeAttributes.d.ts +++ b/ui-src/lib/types/shape/shapeAttributes.d.ts @@ -4,7 +4,6 @@ import { Export } from '@ui/lib/types/utils/export'; import { Fill } from '@ui/lib/types/utils/fill'; import { Grid } from '@ui/lib/types/utils/grid'; import { Interaction } from '@ui/lib/types/utils/interaction'; -import { Matrix } from '@ui/lib/types/utils/matrix'; import { Point } from '@ui/lib/types/utils/point'; import { Selrect } from '@ui/lib/types/utils/selrect'; import { Shadow } from '@ui/lib/types/utils/shadow'; @@ -38,16 +37,10 @@ export type ShapeAttributes = { r2?: number; r3?: number; r4?: number; - x?: number; - y?: number; - width?: number; - height?: number; opacity?: number; grids?: Grid[]; exports?: Export[]; strokes?: Stroke[]; - transform?: Matrix; - transformInverse?: Matrix; blendMode?: BlendMode; interactions?: Interaction[]; shadow?: Shadow[]; diff --git a/ui-src/lib/types/shape/shapeBaseAttributes.ts b/ui-src/lib/types/shape/shapeBaseAttributes.ts index 50da0b6..f2ec611 100644 --- a/ui-src/lib/types/shape/shapeBaseAttributes.ts +++ b/ui-src/lib/types/shape/shapeBaseAttributes.ts @@ -43,4 +43,5 @@ export type ShapeBaseAttributes = { transformInverse?: Matrix; parentId?: Uuid; frameId?: Uuid; + rotation?: number; };