浏览代码

fix: fix keybindings for arrowheads (#9557)

Kamil Wąż 3 月之前
父节点
当前提交
27522110df
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      packages/excalidraw/actions/actionProperties.tsx

+ 2 - 2
packages/excalidraw/actions/actionProperties.tsx

@@ -1483,13 +1483,13 @@ const getArrowheadOptions = (flip: boolean) => {
       value: "crowfoot_one",
       value: "crowfoot_one",
       text: t("labels.arrowhead_crowfoot_one"),
       text: t("labels.arrowhead_crowfoot_one"),
       icon: <ArrowheadCrowfootOneIcon flip={flip} />,
       icon: <ArrowheadCrowfootOneIcon flip={flip} />,
-      keyBinding: "c",
+      keyBinding: "x",
     },
     },
     {
     {
       value: "crowfoot_many",
       value: "crowfoot_many",
       text: t("labels.arrowhead_crowfoot_many"),
       text: t("labels.arrowhead_crowfoot_many"),
       icon: <ArrowheadCrowfootIcon flip={flip} />,
       icon: <ArrowheadCrowfootIcon flip={flip} />,
-      keyBinding: "x",
+      keyBinding: "c",
     },
     },
     {
     {
       value: "crowfoot_one_or_many",
       value: "crowfoot_one_or_many",