mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-20 04:34:20 +01:00
feat: Add support for rounded corners in diamond (#4369)
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user