diff --git a/locales/en.json b/locales/en.json
index 45b51634..bb3beaa4 100644
--- a/locales/en.json
+++ b/locales/en.json
@@ -72,7 +72,8 @@
"opacity": "Opacity",
"ui_scaling": "UI Scaling",
"display_duration": "Display duration",
- "fadeout_duration": "Fadeout duration"
+ "fadeout_duration": "Fadeout duration",
+ "tracker": "Tracker"
},
"config_page": {
"config_title": "Settings",
diff --git a/src-ui/app/config_page/setting_section/setting_box/vr/Vr.jsx b/src-ui/app/config_page/setting_section/setting_box/vr/Vr.jsx
index 66a692ee..38cf53ac 100644
--- a/src-ui/app/config_page/setting_section/setting_box/vr/Vr.jsx
+++ b/src-ui/app/config_page/setting_section/setting_box/vr/Vr.jsx
@@ -4,6 +4,7 @@ import { clsx } from "clsx";
import styles from "./Vr.module.scss";
import { Slider } from "../_components/";
import {
+ RadioButtonContainer,
SwitchBoxContainer,
} from "../_templates/Templates";
import {
@@ -25,7 +26,6 @@ export const Vr = () => {
const { currentOverlayLargeLogSettings, setOverlayLargeLogSettings } = useOverlayLargeLogSettings();
const { currentIsEnabledOverlayLargeLog, toggleIsEnabledOverlayLargeLog } = useIsEnabledOverlayLargeLog();
-
return (
@@ -37,6 +37,7 @@ export const Vr = () => {
/>
{is_opened_small_settings ? (
{
/>
) : (
{
const { t } = useTranslation();
@@ -88,6 +91,12 @@ const OverlaySettingsContainer = ({
setTimeoutId(newTimeoutId);
};
+ const selectTrackerFunction = (value) => {
+ const new_data = { ...settings, tracker: value };
+ set_overlay_settings(new_data);
+ };
+
+
return (
<>
+
>
);
};
diff --git a/src-ui/store.js b/src-ui/store.js
index e7d90f70..7b4c64a4 100644
--- a/src-ui/store.js
+++ b/src-ui/store.js
@@ -216,6 +216,7 @@ export const { atomInstance: Atom_OverlaySmallLogSettings, useHook: useStore_Ove
z_rotation: 0.0,
display_duration: 5,
fadeout_duration: 2,
+ tracker: "HMD",
}, "OverlaySmallLogSettings");
export const { atomInstance: Atom_IsEnabledOverlaySmallLog, useHook: useStore_IsEnabledOverlaySmallLog } = createAtomWithHook(false, "IsEnabledOverlaySmallLog");
export const { atomInstance: Atom_OverlayLargeLogSettings, useHook: useStore_OverlayLargeLogSettings } = createAtomWithHook({
@@ -227,6 +228,7 @@ export const { atomInstance: Atom_OverlayLargeLogSettings, useHook: useStore_Ove
z_rotation: 0.0,
display_duration: 5,
fadeout_duration: 2,
+ tracker: "HMD",
}, "OverlayLargeLogSettings");
export const { atomInstance: Atom_IsEnabledOverlayLargeLog, useHook: useStore_IsEnabledOverlayLargeLog } = createAtomWithHook(false, "IsEnabledOverlayLargeLog");