Web: Files: removed actions hotkeys
This commit is contained in:
parent
b6c810daa2
commit
c9871f4b1b
@ -181,21 +181,21 @@ const withHotkeys = (Component) => {
|
||||
[confirmDelete]
|
||||
);
|
||||
|
||||
//TODO: Undo the last action
|
||||
useHotkeys(
|
||||
"Ctrl+z, command+z",
|
||||
() => alert("Undo the last action"),
|
||||
hotkeysFilter,
|
||||
[]
|
||||
);
|
||||
// //TODO: Undo the last action
|
||||
// useHotkeys(
|
||||
// "Ctrl+z, command+z",
|
||||
// () => alert("Undo the last action"),
|
||||
// hotkeysFilter,
|
||||
// []
|
||||
// );
|
||||
|
||||
//TODO: Redo the last undone action
|
||||
useHotkeys(
|
||||
"Ctrl+Shift+z, command+Shift+z",
|
||||
() => alert("Redo the last undone action"),
|
||||
hotkeysFilter,
|
||||
[]
|
||||
);
|
||||
// //TODO: Redo the last undone action
|
||||
// useHotkeys(
|
||||
// "Ctrl+Shift+z, command+Shift+z",
|
||||
// () => alert("Redo the last undone action"),
|
||||
// hotkeysFilter,
|
||||
// []
|
||||
// );
|
||||
|
||||
//Open hotkeys panel
|
||||
useHotkeys(
|
||||
|
@ -17,7 +17,7 @@ const ActionsBlock = ({ t, textStyles, keyTextStyles, CtrlKey }) => {
|
||||
<Text {...keyTextStyles}># {t("HotkeysOr")} Delete</Text>
|
||||
</>
|
||||
</Row>
|
||||
<Row className="hotkeys_row">
|
||||
{/* <Row className="hotkeys_row">
|
||||
<>
|
||||
<Text {...textStyles}>{t("HotkeysUndoLastAction")}</Text>
|
||||
<Text {...keyTextStyles}>{CtrlKey}+z</Text>
|
||||
@ -28,7 +28,7 @@ const ActionsBlock = ({ t, textStyles, keyTextStyles, CtrlKey }) => {
|
||||
<Text {...textStyles}>{t("HotkeysRedoLastUndoneAction")}</Text>
|
||||
<Text {...keyTextStyles}>{CtrlKey}+Shift+z</Text>
|
||||
</>
|
||||
</Row>
|
||||
</Row> */}
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user