refacto(src): a bit of cleaning

This commit is contained in:
Florent Chehab
2020-04-19 16:32:30 +02:00
parent 0a32a73742
commit 84b4ff019f
6 changed files with 51 additions and 61 deletions

View File

@@ -5,7 +5,7 @@
//> defmod is "command" on OS X and "ctrl" elsewhere
//Advanced Example: 'defmod-k j' -> For this to fire you have to first press both ctrl and k, and then j.
var keybinds = {
const keybinds = {
// 'key(s)' : 'function',
'defmod-shift-z' : 'clearWhiteboard',
'defmod-z' : 'undoStep',
@@ -43,4 +43,6 @@ var keybinds = {
'shift-enter' : 'addToBackground',
'escape' : 'cancelAllActions',
'del' : 'deleteSelection'
}
}
export default keybinds;