mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-09-25 23:35:43 +00:00
Merge pull request #611 from webadderallorg/fix/webcam-hud-preview-bounds
fix(recording): preserve webcam preview HUD bounds
This commit is contained in:
@@ -152,6 +152,16 @@ function LaunchWindowContent() {
|
||||
hudOverlayMousePassthroughSupported,
|
||||
});
|
||||
|
||||
useEffect(() => {
|
||||
window.electronAPI?.hudOverlaySetWebcamPreviewVisible?.(showRecordingWebcamPreview);
|
||||
}, [showRecordingWebcamPreview]);
|
||||
|
||||
useEffect(() => {
|
||||
return () => {
|
||||
window.electronAPI?.hudOverlaySetWebcamPreviewVisible?.(false);
|
||||
};
|
||||
}, []);
|
||||
|
||||
const {
|
||||
recordingHudOffset,
|
||||
isHudDragging,
|
||||
|
||||
Reference in New Issue
Block a user