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 cd962f61 authored by bernie wang's avatar bernie wang
Browse files

fixed linux ctrl hotkey issue

parent 04ce4a31
......@@ -56,6 +56,7 @@
<script src="js/libs/stats.min.js"></script>
<script src="js/FileSaver.min.js"></script>
<script src="js/dat.gui.min.js"></script>
<script src="js/box.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script type="x-shader/x-vertex" id="vertexshader">
......
......@@ -178,6 +178,8 @@ function init() {
function onKeyDown(event) {
if (event.ctrlKey) {
toggleControl(false);
} else if (window.navigator.platform.includes("Linux") && (KeyID == 29 || KeyID == 97)) {
toggleControl(false);
}
var KeyID = event.keyCode;
switch(KeyID)
......
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