Skip to content

Commit 85b82bc

Browse files
fixes #90 (#93)
1 parent 7a7536e commit 85b82bc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

package/src/renderer/processors/Shapes.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ export const center = (r: IRect | IRRect) =>
6767
: vec(r.x + r.width / 2, r.y + r.height / 2);
6868

6969
export const isRRectCtor = (def: RRectDef): def is RRectCtor =>
70-
(def as any).rect !== undefined;
70+
(def as any).rect === undefined;
7171
export const isRectCtor = (def: RectDef): def is RectCtor =>
72-
(def as any).rect !== undefined;
72+
(def as any).rect === undefined;
7373
export const isRRect = (def: IRect | IRRect): def is IRRect =>
7474
(def as any).rect !== undefined;
7575

0 commit comments

Comments
 (0)