diff --git a/gui/src/components/BVHButton.tsx b/gui/src/components/BVHButton.tsx index caf91c0de..b2d2776db 100644 --- a/gui/src/components/BVHButton.tsx +++ b/gui/src/components/BVHButton.tsx @@ -9,7 +9,7 @@ import { useWebsocketAPI } from '../hooks/websocket-api'; import { BigButton } from './commons/BigButton'; import { RecordIcon } from './commons/icon/RecordIcon'; -export function BVHButton() { +export function BVHButton(props: React.HTMLAttributes) { const { l10n } = useLocalization(); const { useRPCPacket, sendRPCPacket } = useWebsocketAPI(); const [recording, setRecording] = useState(false); @@ -29,6 +29,7 @@ export function BVHButton() { text={l10n.getString(recording ? 'bvh-recording' : 'bvh-start_recording')} icon={} onClick={toggleBVH} + className={props.className} > ); } diff --git a/gui/src/components/MainLayout.tsx b/gui/src/components/MainLayout.tsx index 97d769423..b1b76a887 100644 --- a/gui/src/components/MainLayout.tsx +++ b/gui/src/components/MainLayout.tsx @@ -72,11 +72,15 @@ export function MainLayoutRoute({ type={ResetType.Full} variant="big" > - - + {config?.debug && ( + + )} + {driftCompensationEnabled && (