feat: support roundness for images (#7558)

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
This commit is contained in:
Aashir Israr 2024-01-29 19:27:07 +05:00 committed by GitHub
parent 626fe252ab
commit 2409c091ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 43 additions and 3 deletions

View file

@ -42,7 +42,8 @@ export const canChangeRoundness = (type: ElementOrToolType) =>
type === "embeddable" ||
type === "arrow" ||
type === "line" ||
type === "diamond";
type === "diamond" ||
type === "image";
export const canHaveArrowheads = (type: ElementOrToolType) => type === "arrow";