mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-09-24 14:55:37 +00:00
improved passthru behaviour hud when not recording MacOS
This commit is contained in:
@@ -452,11 +452,7 @@ function LaunchWindowContent() {
|
||||
ref={hudContentRef}
|
||||
className="flex items-center overflow-visible flex-col-reverse pointer-events-none"
|
||||
>
|
||||
<div
|
||||
className="flex flex-col items-center pointer-events-auto p-2"
|
||||
onMouseEnter={handleHudMouseEnter}
|
||||
onMouseLeave={handleHudMouseLeave}
|
||||
>
|
||||
<div className="flex flex-col items-center pointer-events-none p-2">
|
||||
<div
|
||||
ref={hudBarTransformRef}
|
||||
style={{
|
||||
@@ -467,7 +463,9 @@ function LaunchWindowContent() {
|
||||
ref={hudBarRef}
|
||||
layout={shouldAnimateHudLayout}
|
||||
transition={hudStateTransition}
|
||||
className={`${styles.bar} launch-theme mb-2`}
|
||||
className={`${styles.bar} launch-theme mb-2 pointer-events-auto`}
|
||||
onMouseEnter={handleHudMouseEnter}
|
||||
onMouseLeave={handleHudMouseLeave}
|
||||
>
|
||||
<div
|
||||
// Linux compositors and non-passthrough Windows fallback windows
|
||||
|
||||
@@ -53,7 +53,7 @@ export function useLaunchHudInteractionState({
|
||||
) {
|
||||
window.electronAPI?.hudOverlaySetIgnoreMouse?.(true);
|
||||
}
|
||||
}, 300);
|
||||
}, 0);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -93,7 +93,7 @@ export function useLaunchHudInteractionState({
|
||||
) {
|
||||
window.electronAPI?.hudOverlaySetIgnoreMouse?.(true);
|
||||
}
|
||||
}, 300);
|
||||
}, 0);
|
||||
},
|
||||
[openId, isHudDraggingRef, isWebcamPreviewDraggingRef, webcamPreviewDragStartRef],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user