1
0
forked from noxious/client

Undo and redo cycling through map edit history

This commit is contained in:
2025-01-29 19:48:09 -06:00
parent e530f69311
commit fb6e2aa742
3 changed files with 135 additions and 75 deletions

View File

@ -169,6 +169,8 @@ function initKeyShortcuts(event: KeyboardEvent) {
// prevent if focused on composables
if (document.activeElement?.tagName === 'INPUT') return
if (event.ctrlKey) return
const keyActions: { [key: string]: string } = {
m: 'move',
p: 'pencil',