Skip to content

Create polished demo videos without editing skills. Mac/Windows/Linux

test(recording): preserve compact idle webcam bounds

wiiiii123f08baedeb056
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);
+ });
});