editor: fix redo shortcut
This commit is contained in:
parent
358e8105a0
commit
61911bd4b7
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ var Editor = class Editor {
|
|||
if (e.target.classList.contains('input')) return
|
||||
this.undo()
|
||||
})
|
||||
keyboardJS.bind('mod + y, mod + shift + z', (e)=>{
|
||||
keyboardJS.bind(['mod + y', 'mod + shift + z'], (e)=>{
|
||||
if (e.target.classList.contains('input')) return
|
||||
this.redo()
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue