change default keybinds

This commit is contained in:
raphael 2020-03-26 21:23:32 +01:00
parent 31b952fa09
commit dea60f1c91

View File

@ -15,31 +15,31 @@ var keybinds = {
'defmod-l' : 'setTool_line',
'defmod-r' : 'setTool_rect',
'defmod-c' : 'setTool_circle',
'shift-f' : 'toggleLineRecCircle',
'shift-p' : 'togglePenEraser',
'shift-r' : 'toggleMainColors',
'defmod-shift-f' : 'toggleLineRecCircle',
'defmod-shift-p' : 'togglePenEraser',
'defmod-shift-r' : 'toggleMainColors',
'defmod-a' : 'setTool_text',
'defmod-e' : 'setTool_eraser',
'defmod-up' : 'thickness_bigger',
'defmod-down' : 'thickness_smaller',
'shift-c' : 'openColorPicker',
'shift-0' : 'setDrawColorBlack',
'shift-1' : 'setDrawColorBlue',
'shift-2' : 'setDrawColorGreen',
'shift-3' : 'setDrawColorYellow',
'shift-4' : 'setDrawColorRed',
'defmod-shift-c' : 'openColorPicker',
'defmod-0' : 'setDrawColorBlack',
'defmod-1' : 'setDrawColorBlue',
'defmod-2' : 'setDrawColorGreen',
'defmod-3' : 'setDrawColorYellow',
'defmod-4' : 'setDrawColorRed',
'defmod-s' : 'saveWhiteboardAsImage',
'defmod-j' : 'saveWhiteboardAsJson',
'shift-w' : 'uploadWhiteboardToWebDav',
'shift-j' : 'uploadJsonToWhiteboard',
'shift-s' : 'shareWhiteboard',
'defmod-shift-w' : 'uploadWhiteboardToWebDav',
'defmod-shift-j' : 'uploadJsonToWhiteboard',
'defmod-shift-s' : 'shareWhiteboard',
'tab' : 'hideShowControls',
'up' : 'moveDraggableUp',
'down' : 'moveDraggableDown',
'left' : 'moveDraggableLeft',
'right' : 'moveDraggableRight',
'enter' : 'dropDraggable',
'shift-enter' : 'addToBackground',
'defmod-enter' : 'addToBackground',
'escape' : 'cancelAllActions',
'del' : 'deleteSelection'
}