diff --git a/public/js/keybinds.js b/public/js/keybinds.js index adbf09a..3346c88 100644 --- a/public/js/keybinds.js +++ b/public/js/keybinds.js @@ -23,13 +23,13 @@ var keybinds = { 'defmod-up' : 'thickness_bigger', 'defmod-down' : 'thickness_smaller', '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', + 'defmod-shift-0' : 'setDrawColorBlack', + 'defmod-shift-1' : 'setDrawColorBlue', + 'defmod-shift-2' : 'setDrawColorGreen', + 'defmod-shift-3' : 'setDrawColorYellow', + 'defmod-shift-4' : 'setDrawColorRed', + 'defmod-shift-s' : 'saveWhiteboardAsImage', + 'defmod-shift-j' : 'saveWhiteboardAsJson', 'defmod-shift-w' : 'uploadWhiteboardToWebDav', 'defmod-shift-j' : 'uploadJsonToWhiteboard', 'defmod-shift-s' : 'shareWhiteboard', @@ -39,7 +39,7 @@ var keybinds = { 'left' : 'moveDraggableLeft', 'right' : 'moveDraggableRight', 'enter' : 'dropDraggable', - 'defmod-enter' : 'addToBackground', + 'shift-enter' : 'addToBackground', 'escape' : 'cancelAllActions', 'del' : 'deleteSelection' } \ No newline at end of file