From fe77e813e17bcc086c17bd942c219abda60c3c48 Mon Sep 17 00:00:00 2001 From: raphael Date: Thu, 26 Mar 2020 21:50:09 +0100 Subject: [PATCH] fix keybinds again --- public/js/keybinds.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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