mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-08 23:12:16 +02:00
Merge pull request #1182 from ctrlaltdavid/fix/minitablet-goto
Fix minitablet goto
This commit is contained in:
commit
77745b314b
2 changed files with 3 additions and 3 deletions
|
@ -1011,7 +1011,7 @@ const bool DEFAULT_HMD_TABLET_BECOMES_TOOLBAR = false;
|
|||
const bool DEFAULT_PREFER_STYLUS_OVER_LASER = false;
|
||||
const bool DEFAULT_PREFER_AVATAR_FINGER_OVER_STYLUS = false;
|
||||
const QString DEFAULT_CURSOR_NAME = "DEFAULT";
|
||||
const bool DEFAULT_MINI_TABLET_ENABLED = true;
|
||||
const bool DEFAULT_MINI_TABLET_ENABLED = false;
|
||||
const bool DEFAULT_AWAY_STATE_WHEN_FOCUS_LOST_IN_VR_ENABLED = true;
|
||||
|
||||
QSharedPointer<OffscreenUi> getOffscreenUI() {
|
||||
|
|
|
@ -563,7 +563,7 @@
|
|||
|
||||
// Tablet targets.
|
||||
isGoto = false,
|
||||
TABLET_ADDRESS_DIALOG = "hifi/tablet/TabletAddressDialog.qml",
|
||||
TABLET_EXPLORE_APP_UI = Script.resolvePath("../communityScripts/explore/explore.html"),
|
||||
|
||||
// Trigger values.
|
||||
leftTriggerOn = 0,
|
||||
|
@ -907,7 +907,7 @@
|
|||
var miniTabletProperties;
|
||||
|
||||
if (isGoto) {
|
||||
tablet.loadQMLSource(TABLET_ADDRESS_DIALOG);
|
||||
tablet.gotoWebScreen(TABLET_EXPLORE_APP_UI);
|
||||
} else {
|
||||
tablet.gotoHomeScreen();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue