Add Cut to menus (#2511)

Co-authored-by: Zen Tang <zen@wayve.ai>
This commit is contained in:
Zen Tang
2020-12-12 05:54:34 -06:00
committed by GitHub
parent ae15380a9f
commit 1a134a88bd
4 changed files with 21 additions and 5 deletions

View File

@@ -240,6 +240,10 @@ export const ShortcutsDialog = ({ onClose }: { onClose?: () => void }) => {
]}
isOr={true}
/>
<Shortcut
label={t("labels.cut")}
shortcuts={[getShortcutKey("CtrlOrCmd+X")]}
/>
<Shortcut
label={t("labels.copy")}
shortcuts={[getShortcutKey("CtrlOrCmd+C")]}