From 74730c1d250ff6efa2bb9342ffcc87d7bd9c2cf0 Mon Sep 17 00:00:00 2001 From: Ruben van de Ven Date: Sat, 2 Feb 2019 18:20:55 +0100 Subject: [PATCH] Shift instead of ctrl --- www/js/hugvey_console.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/js/hugvey_console.js b/www/js/hugvey_console.js index fb2665e..3f07794 100644 --- a/www/js/hugvey_console.js +++ b/www/js/hugvey_console.js @@ -203,14 +203,14 @@ class Graph { this.controlDown = false; document.addEventListener( 'keydown', function( e ) { console.log( e ); - if ( e.which == "17" ) { + if ( e.which == "16" ) { // shift graph.controlDown = true; document.body.classList.add( 'controlDown' ); } } ); document.addEventListener( 'keyup', function( e ) { console.log( e ); - if ( e.which == "17" ) { + if ( e.which == "16" ) { // shift graph.controlDown = false; document.body.classList.remove( 'controlDown' ); }