mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-06 23:11:09 +02:00
clean up 2
This commit is contained in:
parent
7251fa6c18
commit
31decffb31
1 changed files with 0 additions and 3 deletions
|
@ -41,9 +41,6 @@ var button;
|
||||||
// Disable them in hmd.
|
// Disable them in hmd.
|
||||||
var desktopOnlyViews = ['Mirror', 'Independent Mode', 'Entity Mode'];
|
var desktopOnlyViews = ['Mirror', 'Independent Mode', 'Entity Mode'];
|
||||||
function onHmdChanged(isHmd) {
|
function onHmdChanged(isHmd) {
|
||||||
//button.writeProperty('buttonState', isHmd ? 0 : 1);
|
|
||||||
//button.writeProperty('defaultState', isHmd ? 0 : 1);
|
|
||||||
//button.writeProperty('hoverState', isHmd ? 2 : 3);
|
|
||||||
desktopOnlyViews.forEach(function (view) {
|
desktopOnlyViews.forEach(function (view) {
|
||||||
Menu.setMenuEnabled("View>" + view, !isHmd);
|
Menu.setMenuEnabled("View>" + view, !isHmd);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue