From 3f98cd49340b8a7b820332aa0899e35d39c2a9a7 Mon Sep 17 00:00:00 2001 From: Alezia Kurdis <60075796+AleziaKurdis@users.noreply.github.com> Date: Sun, 27 Sep 2020 15:23:17 -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 "List" tab. --- scripts/system/create/entityList/entityList.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/system/create/entityList/entityList.js b/scripts/system/create/entityList/entityList.js index 644e68bec8..3efa95dc07 100644 --- a/scripts/system/create/entityList/entityList.js +++ b/scripts/system/create/entityList/entityList.js @@ -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