Fix tablet highlighting not working if start up in HMD

This commit is contained in:
David Rowe 2018-10-23 09:08:38 +13:00
parent 71ec5f3612
commit 35c1241c98

View file

@ -109,6 +109,7 @@ Script.include("/~/system/libraries/controllerDispatcherUtils.js");
}
HMD.displayModeChanged.connect(onDisplayModeChanged);
HMD.mountedChanged.connect(onDisplayModeChanged);
onDisplayModeChanged();
function cleanUp() {
disableDispatcherModule("LeftNearTabletHighlight");