mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 13:33:27 +02:00
Settings link
This commit is contained in:
parent
55033df354
commit
6a3dea030e
2 changed files with 7 additions and 2 deletions
|
@ -34,7 +34,7 @@
|
||||||
<div class="snapsection" id="snap-settings">
|
<div class="snapsection" id="snap-settings">
|
||||||
<span class="setting">
|
<span class="setting">
|
||||||
<input type="button" class="glyph naked" id="snapshotSettings" value="@" onclick="snapshotSettings()" />
|
<input type="button" class="glyph naked" id="snapshotSettings" value="@" onclick="snapshotSettings()" />
|
||||||
<label for="snapshotSettings">Snapshot settings</label>
|
<label for="snapshotSettings">Settings</label>
|
||||||
</span>
|
</span>
|
||||||
<span class="setting checkbox">
|
<span class="setting checkbox">
|
||||||
<input id="openFeed" type="checkbox" checked />
|
<input id="openFeed" type="checkbox" checked />
|
||||||
|
|
|
@ -60,7 +60,12 @@ function onMessage(message) {
|
||||||
outstanding = 0;
|
outstanding = 0;
|
||||||
break;
|
break;
|
||||||
case 'openSettings':
|
case 'openSettings':
|
||||||
Desktop.show("hifi/dialogs/GeneralPreferencesDialog.qml", "GeneralPreferencesDialog");
|
if ((HMD.active && Settings.getValue("hmdTabletBecomesToolbar"))
|
||||||
|
|| (!HMD.active && Settings.getValue("desktopTabletBecomesToolbar"))) {
|
||||||
|
Desktop.show("hifi/dialogs/GeneralPreferencesDialog.qml", "General Preferences");
|
||||||
|
} else {
|
||||||
|
tablet.loadQMLSource("TabletGeneralPreferences.qml");
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case 'setOpenFeedFalse':
|
case 'setOpenFeedFalse':
|
||||||
Settings.setValue('openFeedAfterShare', false);
|
Settings.setValue('openFeedAfterShare', false);
|
||||||
|
|
Loading…
Reference in a new issue