Skip to content

Commit

Permalink
fixes #90 (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
william-candillon authored Jan 10, 2022
1 parent 7a7536e commit 85b82bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/src/renderer/processors/Shapes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ export const center = (r: IRect | IRRect) =>
: vec(r.x + r.width / 2, r.y + r.height / 2);

export const isRRectCtor = (def: RRectDef): def is RRectCtor =>
(def as any).rect !== undefined;
(def as any).rect === undefined;
export const isRectCtor = (def: RectDef): def is RectCtor =>
(def as any).rect !== undefined;
(def as any).rect === undefined;
export const isRRect = (def: IRect | IRRect): def is IRRect =>
(def as any).rect !== undefined;

Expand Down

0 comments on commit 85b82bc

Please sign in to comment.