mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
clearing route on new position
This commit is contained in:
parent
9a08ccd95b
commit
7c931f4f6d
3 changed files with 36 additions and 23 deletions
|
@ -241,7 +241,7 @@ function* keyPressedSaga({ key, target }: ReturnType<typeof editorKeyPressed>) {
|
|||
}
|
||||
} else if (key === 'z') {
|
||||
yield put(editorUndo())
|
||||
} else if (key === 'u') {
|
||||
} else if (key === 'x') {
|
||||
yield put(editorRedo())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue