Don't show SPECTATOR app in Desktop mode

This commit is contained in:
Zach Fox 2017-07-10 10:25:37 -07:00
parent 4843b91f47
commit f170449b88

View file

@ -131,10 +131,10 @@
// Relevant Variables: // Relevant Variables:
// -button: The tablet button. // -button: The tablet button.
// -buttonName: The name of the button. // -buttonName: The name of the button.
// -showInDesktop: Set to "true" to show the "SPECTATOR" app in desktop mode. // -showSpectatorInDesktop: Set to "true" to show the "SPECTATOR" app in desktop mode.
var button = false; var button = false;
var buttonName = "SPECTATOR"; var buttonName = "SPECTATOR";
var showSpectatorInDesktop = true; var showSpectatorInDesktop = false;
function addOrRemoveButton(isShuttingDown, isHMDMode) { function addOrRemoveButton(isShuttingDown, isHMDMode) {
if (!tablet) { if (!tablet) {
print("Warning in addOrRemoveButton(): 'tablet' undefined!"); print("Warning in addOrRemoveButton(): 'tablet' undefined!");