mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 19:55:07 +02:00
Fix: Reset Landscape mode in HMD
Fix: Reset Landscape mode in HMD In HMD, clicking on the button "Open this Domain's Asset server" is reverting the tablet to "portrait" mode This fix forces the mode to return to Landscape if from the Asset server we click on the "List" tab.
This commit is contained in:
parent
6ecbbd258b
commit
3f98cd4934
1 changed files with 4 additions and 1 deletions
|
@ -164,7 +164,10 @@ EntityListTool = function(shouldUseEditTabletApp) {
|
|||
}
|
||||
|
||||
that.sendUpdate = function() {
|
||||
|
||||
var tablet = Tablet.getTablet("com.highfidelity.interface.tablet.system");
|
||||
if (HMD.active){
|
||||
tablet.setLandscape(true);
|
||||
}
|
||||
emitJSONScriptEvent({
|
||||
"type": "confirmHMDstate",
|
||||
"isHmd": HMD.active
|
||||
|
|
Loading…
Reference in a new issue