mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Add free draw mode (#1570)
This commit is contained in:
parent
36e0c439fb
commit
9ec43d2626
21 changed files with 344 additions and 49 deletions
|
@ -10,6 +10,7 @@ export const hasBackground = (type: string) =>
|
|||
type === "rectangle" ||
|
||||
type === "ellipse" ||
|
||||
type === "diamond" ||
|
||||
type === "draw" ||
|
||||
type === "line";
|
||||
|
||||
export const hasStroke = (type: string) =>
|
||||
|
@ -17,6 +18,7 @@ export const hasStroke = (type: string) =>
|
|||
type === "ellipse" ||
|
||||
type === "diamond" ||
|
||||
type === "arrow" ||
|
||||
type === "draw" ||
|
||||
type === "line";
|
||||
|
||||
export const hasText = (type: string) => type === "text";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue