lasso without 'real' shape detection

This commit is contained in:
Ryan Di 2025-02-21 17:45:54 +11:00
parent 9ee0b8ffcb
commit 5cba71972e
19 changed files with 706 additions and 23 deletions

View file

@ -10,7 +10,10 @@ export const hasBackground = (type: ElementOrToolType) =>
type === "freedraw";
export const hasStrokeColor = (type: ElementOrToolType) =>
type !== "image" && type !== "frame" && type !== "magicframe";
type !== "image" &&
type !== "frame" &&
type !== "magicframe" &&
type !== "lasso";
export const hasStrokeWidth = (type: ElementOrToolType) =>
type === "rectangle" ||