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 15:27:07 +01:00
committed by GitHub
co-authored by dwelle
parent 626fe252ab
commit 2409c091ff
4 changed files with 43 additions and 3 deletions
+2 -1
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";