diff --git a/src/components/launch/LaunchWindow.tsx b/src/components/launch/LaunchWindow.tsx
index 80d9d222..49547069 100644
--- a/src/components/launch/LaunchWindow.tsx
+++ b/src/components/launch/LaunchWindow.tsx
@@ -515,6 +515,7 @@ function LaunchWindowContent() {
;
}) {
const isMouseOverHudRef = useRef(false);
+ const timeoutRef = useRef
(null);
useEffect(() => {
if (openId !== null) {
@@ -31,7 +32,7 @@ export function useLaunchHudInteractionState({
const target = e.target as HTMLElement | null;
if (!target) return;
const isInteractive = !!target.closest(
- '.pointer-events-auto, [data-radix-popper-content-wrapper], [class*="menuCard"], [class*="recordingWebcamPreview"]'
+ ".pointer-events-auto, [data-hud-interactive], [data-radix-popper-content-wrapper]"
);
if (isInteractive) {
@@ -69,8 +70,6 @@ export function useLaunchHudInteractionState({
window.electronAPI?.hudOverlaySetIgnoreMouse?.(false);
}, []);
- const timeoutRef = useRef(null);
-
const handleHudMouseLeave = useCallback((event: MouseEvent) => {
const nextTarget = event.relatedTarget;
if (nextTarget instanceof Node && event.currentTarget.contains(nextTarget)) {
diff --git a/src/components/launch/popovers/PopoverScaffold.tsx b/src/components/launch/popovers/PopoverScaffold.tsx
index 856de855..be349192 100644
--- a/src/components/launch/popovers/PopoverScaffold.tsx
+++ b/src/components/launch/popovers/PopoverScaffold.tsx
@@ -80,6 +80,7 @@ export function HudPopover({
{trigger}