mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 05:52:38 +02:00
Clean up code in tabletHelp.html
This commit is contained in:
parent
05939f8a7c
commit
1bd978e4c3
1 changed files with 4 additions and 9 deletions
|
@ -137,29 +137,24 @@
|
|||
switch (params.handControllerName) {
|
||||
case "oculus":
|
||||
handControllerImageURL = "img/tablet-help-oculus.jpg";
|
||||
index = 0;
|
||||
break;
|
||||
case "windowsMR":
|
||||
handControllerImageURL = "img/tablet-help-windowsMR.jpg";
|
||||
index = 0;
|
||||
break;
|
||||
case "vive":
|
||||
handControllerImageURL = "img/tablet-help-vive.jpg";
|
||||
index = 0;
|
||||
default:
|
||||
|
||||
}
|
||||
|
||||
switch (params.defaultTab) {
|
||||
case "handControllers":
|
||||
showHandControllers();
|
||||
index = 0;
|
||||
break;
|
||||
case "gamepad":
|
||||
showGamepad();
|
||||
index = 1;
|
||||
break;
|
||||
|
||||
case "handControllers":
|
||||
showHandControllers();
|
||||
break;
|
||||
|
||||
case "kbm":
|
||||
default:
|
||||
showKbm();
|
||||
|
|
Loading…
Reference in a new issue