mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: Add support for rounded corners in diamond (#4369)
This commit is contained in:
parent
618f204ddd
commit
4ea73d5d5b
2 changed files with 43 additions and 10 deletions
|
@ -29,7 +29,10 @@ export const hasStrokeStyle = (type: string) =>
|
|||
type === "line";
|
||||
|
||||
export const canChangeSharpness = (type: string) =>
|
||||
type === "rectangle" || type === "arrow" || type === "line";
|
||||
type === "rectangle" ||
|
||||
type === "arrow" ||
|
||||
type === "line" ||
|
||||
type === "diamond";
|
||||
|
||||
export const hasText = (type: string) => type === "text";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue