diff --git a/src/actions/actionProperties.tsx b/src/actions/actionProperties.tsx
index 667a68fc..cc3bbbdb 100644
--- a/src/actions/actionProperties.tsx
+++ b/src/actions/actionProperties.tsx
@@ -6,6 +6,7 @@ import {
ArrowheadArrowIcon,
ArrowheadBarIcon,
ArrowheadDotIcon,
+ ArrowheadTriangleIcon,
ArrowheadNoneIcon,
EdgeRoundIcon,
EdgeSharpIcon,
@@ -738,6 +739,14 @@ export const actionChangeArrowhead = register({
icon: ,
keyBinding: "r",
},
+ {
+ value: "triangle",
+ text: t("labels.arrowhead_triangle"),
+ icon: (
+
+ ),
+ keyBinding: "t",
+ },
]}
value={getFormValue(
elements,
@@ -780,6 +789,14 @@ export const actionChangeArrowhead = register({
keyBinding: "r",
icon: ,
},
+ {
+ value: "triangle",
+ text: t("labels.arrowhead_triangle"),
+ icon: (
+
+ ),
+ keyBinding: "t",
+ },
]}
value={getFormValue(
elements,
diff --git a/src/components/IconPicker.scss b/src/components/IconPicker.scss
index 0bf0b1bc..c0241660 100644
--- a/src/components/IconPicker.scss
+++ b/src/components/IconPicker.scss
@@ -90,7 +90,7 @@
.picker-content {
padding: 0.5rem;
display: grid;
- grid-auto-flow: column;
+ grid-template-columns: repeat(3, auto);
grid-gap: 0.5rem;
border-radius: 4px;
:root[dir="rtl"] & {
diff --git a/src/components/icons.tsx b/src/components/icons.tsx
index fb1f5772..3f954c90 100644
--- a/src/components/icons.tsx
+++ b/src/components/icons.tsx
@@ -752,6 +752,21 @@ export const ArrowheadBarIcon = React.memo(
),
);
+export const ArrowheadTriangleIcon = React.memo(
+ ({ theme, flip = false }: { theme: Theme; flip?: boolean }) =>
+ createIcon(
+
+
+
+ ,
+ { width: 40, height: 20 },
+ ),
+);
+
export const FontSizeSmallIcon = React.memo(({ theme }: { theme: Theme }) =>
createIcon(