From 6ecbbd258b8bce2368beb3bc21c40e4459015930 Mon Sep 17 00:00:00 2001 From: Alezia Kurdis <60075796+AleziaKurdis@users.noreply.github.com> Date: Sun, 27 Sep 2020 15:22:00 -0400 Subject: [PATCH] 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. --- scripts/system/create/edit.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/system/create/edit.js b/scripts/system/create/edit.js index e01e761cb4..2fb38efad7 100644 --- a/scripts/system/create/edit.js +++ b/scripts/system/create/edit.js @@ -2339,6 +2339,10 @@ var PropertiesTool = function (opts) { }; function updateSelections(selectionUpdated, caller) { + if (HMD.active){ + webView.setLandscape(true); + } + if (blockPropertyUpdates) { return; }