mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 16:14:01 +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 "Properties" tab.
This commit is contained in:
parent
d72f707862
commit
6ecbbd258b
1 changed files with 4 additions and 0 deletions
|
@ -2339,6 +2339,10 @@ var PropertiesTool = function (opts) {
|
|||
};
|
||||
|
||||
function updateSelections(selectionUpdated, caller) {
|
||||
if (HMD.active){
|
||||
webView.setLandscape(true);
|
||||
}
|
||||
|
||||
if (blockPropertyUpdates) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue