mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-08 16:12:12 +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.
|
||||
var desktopOnlyViews = ['Mirror', 'Independent Mode', 'Entity Mode'];
|
||||
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) {
|
||||
Menu.setMenuEnabled("View>" + view, !isHmd);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue