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