Przeglądaj źródła

Add Select All shortcut (#1270)

Lipis 5 lat temu
rodzic
commit
60d9567e2d
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      src/components/ShortcutsDialog.tsx

+ 4 - 0
src/components/ShortcutsDialog.tsx

@@ -154,6 +154,10 @@ export const ShortcutsDialog = ({ onClose }: { onClose?: () => void }) => {
           </ShortcutIsland>
           <ShortcutIsland title={t("shortcutsDialog.editor")}>
             <Shortcut
+              title={t("labels.selectAll")}
+              shortcuts={[getShortcutKey("CtrlOrCmd+A", "")]}
+            />
+            <Shortcut
               title={t("labels.copy")}
               shortcuts={[getShortcutKey("CtrlOrCmd+C", "")]}
             />