mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-24 18:46:40 +07:00
c to clear
This commit is contained in:
parent
7c931f4f6d
commit
16308996e1
2 changed files with 2 additions and 2 deletions
|
@ -119,7 +119,7 @@ class EditorPanelUnconnected extends PureComponent<Props, void> {
|
|||
})}
|
||||
onClick={this.startTrashMode}
|
||||
>
|
||||
<Tooltip>Очистить</Tooltip>
|
||||
<Tooltip>Очистить (c)</Tooltip>
|
||||
<Icon icon="icon-trash-4" size={24} />
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
@ -227,7 +227,7 @@ function* keyPressedSaga({ key, target }: ReturnType<typeof editorKeyPressed>) {
|
|||
if (renderer_active) return yield put(editorHideRenderer());
|
||||
if (dialog_active) return yield put(editorSetDialogActive(false));
|
||||
if (mode !== MODES.NONE) return yield put(editorChangeMode(MODES.NONE));
|
||||
} else if (key === 'Delete') {
|
||||
} else if (key === 'Delete' || key === 'c') {
|
||||
const { editing } = yield select(selectEditor);
|
||||
|
||||
if (!editing) return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue