mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
lasso without 'real' shape detection
This commit is contained in:
parent
9ee0b8ffcb
commit
5cba71972e
19 changed files with 706 additions and 23 deletions
|
@ -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" ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue