mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 19:21:16 +02:00
Fix toolbar appears on HMD mode
This commit is contained in:
parent
fab28e7d44
commit
319913e6af
1 changed files with 1 additions and 0 deletions
|
@ -7357,6 +7357,7 @@ void Application::updateThreadPoolCount() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Application::updateSystemTabletMode() {
|
void Application::updateSystemTabletMode() {
|
||||||
|
if (!_settingsLoaded) return;
|
||||||
qApp->setProperty(hifi::properties::HMD, isHMDMode());
|
qApp->setProperty(hifi::properties::HMD, isHMDMode());
|
||||||
if (isHMDMode()) {
|
if (isHMDMode()) {
|
||||||
DependencyManager::get<TabletScriptingInterface>()->setToolbarMode(getHmdTabletBecomesToolbarSetting());
|
DependencyManager::get<TabletScriptingInterface>()->setToolbarMode(getHmdTabletBecomesToolbarSetting());
|
||||||
|
|
Loading…
Reference in a new issue