From 3252e0d0da460650650bb15bbc57d12d2c2cde2a Mon Sep 17 00:00:00 2001 From: wiiiii123 Date: Sat, 11 Jul 2026 13:23:27 +0700 Subject: [PATCH] test(recording): preserve compact idle webcam bounds --- electron/hudOverlayBounds.test.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/electron/hudOverlayBounds.test.ts b/electron/hudOverlayBounds.test.ts index dcc4daef..db21e92b 100644 --- a/electron/hudOverlayBounds.test.ts +++ b/electron/hudOverlayBounds.test.ts @@ -175,4 +175,14 @@ describe("shouldExpandHudOverlayFallback", () => { }), ).toBe(true); }); + + it("does not expand for webcam visibility outside recording", () => { + expect( + shouldExpandHudOverlayFallback({ + fallbackExpanded: false, + recordingActive: false, + webcamPreviewVisible: true, + }), + ).toBe(false); + }); });