diff --git a/src/app/components/RealityOverridePage.tsx b/src/app/components/RealityOverridePage.tsx index 1d9bb0d..dec1015 100644 --- a/src/app/components/RealityOverridePage.tsx +++ b/src/app/components/RealityOverridePage.tsx @@ -115,9 +115,10 @@ export default function RealityOverridePage({ onBack }: { onBack: () => void }) localStorage.setItem('ro-bg', next ? 'on' : 'off'); }; - const handleTouchEnd = () => { + const handlePointerDown = (e: React.PointerEvent) => { + if (!e.isPrimary) return; const now = Date.now(); - if (now - lastTapRef.current < 300) { toggleBg(); lastTapRef.current = 0; } + if (now - lastTapRef.current < 400) { toggleBg(); lastTapRef.current = 0; } else { lastTapRef.current = now; } }; @@ -319,8 +320,7 @@ export default function RealityOverridePage({ onBack }: { onBack: () => void }) return (