Note: The default ITS GitLab runner is a shared resource and is subject to slowdowns during heavy usage.
You can run your own GitLab runner that is dedicated just to your group if you need to avoid processing delays.

Commit 4a88d603 authored by Bernie Wang's avatar Bernie Wang
Browse files

added switch cases for linux ctrl keys

parent d5ba815b
......@@ -206,16 +206,22 @@ function onKeyDown(event) {
var KeyID = event.keyCode;
switch(KeyID)
{
case 8: // backspace
deleteSelectedBox();
break;
case 46: // delete
deleteSelectedBox();
break;
case 68:
// toggleControl(false);
default:
break;
case 29: // linux l ctrl
toggleControl(false);
break;
case 97: // linux r ctrl
toggleControl(false);
break;
case 8: // backspace
deleteSelectedBox();
break;
case 46: // delete
deleteSelectedBox();
break;
case 68:
// toggleControl(false);
default:
break;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment