mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +07:00
fixed panel radiuses
This commit is contained in:
parent
dc66889a42
commit
29dde732bd
3 changed files with 8 additions and 2 deletions
|
@ -483,6 +483,10 @@ function* keyPressedSaga({ key, target }: ReturnType<typeof ActionCreators.keyPr
|
|||
if (dialog_active) return yield put(setDialogActive(false));
|
||||
if (mode !== MODES.NONE) return yield put(setMode(MODES.NONE));
|
||||
} else if (key === 'Delete') {
|
||||
const { user: { editing } } = yield select();
|
||||
|
||||
if (!editing) return;
|
||||
|
||||
const { mode } = yield select(getState);
|
||||
|
||||
if (mode === MODES.TRASH) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue