Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

fix: equalize badge heights and reduce window to 160px

Etienne Lescota9222c9484f7
diff --git a/electron/windows.ts b/electron/windows.ts
index c81ac25cd..fb9a65531 100644
--- a/electron/windows.ts
+++ b/electron/windows.ts
@@ -22,7 +22,7 @@ export function createHudOverlayWindow(): BrowserWindow {
const { workArea } = primaryDisplay;
const windowWidth = 600;
- const windowHeight = 200;
+ const windowHeight = 160;
const x = Math.floor(workArea.x + (workArea.width - windowWidth) / 2);
const y = Math.floor(workArea.y + workArea.height - windowHeight - 5);
@@ -32,8 +32,8 @@ export function createHudOverlayWindow(): BrowserWindow {
height: windowHeight,
minWidth: 600,
maxWidth: 600,
- minHeight: 200,
- maxHeight: 200,
+ minHeight: 160,
+ maxHeight: 160,
x: x,
y: y,
frame: false,
diff --git a/src/components/launch/LaunchWindow.tsx b/src/components/launch/LaunchWindow.tsx
index 213fd598a..aca40c467 100644
--- a/src/components/launch/LaunchWindow.tsx
+++ b/src/components/launch/LaunchWindow.tsx
@@ -257,7 +257,7 @@ export function LaunchWindow() {
{/* Mic selector */}
{showMicControls && (
<div
- className={`flex items-center gap-2 px-3 py-1.5 bg-gradient-to-br from-[rgba(28,28,36,0.97)] to-[rgba(18,18,26,0.96)] backdrop-blur-[24px] border border-white/10 rounded-xl shadow-2xl transition-all duration-300 overflow-hidden ${!isMicHovered ? "opacity-60 grayscale-[0.5]" : "opacity-100"}`}
+ className={`flex items-center gap-2 px-3 py-1.5 min-h-[36px] bg-gradient-to-br from-[rgba(28,28,36,0.97)] to-[rgba(18,18,26,0.96)] backdrop-blur-[24px] border border-white/10 rounded-xl shadow-2xl transition-all duration-300 overflow-hidden ${!isMicHovered ? "opacity-60 grayscale-[0.5]" : "opacity-100"}`}
onMouseEnter={() => setIsMicHovered(true)}
onMouseLeave={() => setIsMicHovered(false)}
style={{ width: isMicHovered ? "240px" : "140px", transition: "width 300ms ease" }}
@@ -304,7 +304,7 @@ export function LaunchWindow() {
{/* Webcam selector */}
{showWebcamControls && (
<div
- className={`flex items-center gap-2 px-3 py-1.5 bg-gradient-to-br from-[rgba(28,28,36,0.97)] to-[rgba(18,18,26,0.96)] backdrop-blur-[24px] border border-white/10 rounded-xl shadow-2xl transition-all duration-300 overflow-hidden ${!isWebcamHovered ? "opacity-60 grayscale-[0.5]" : "opacity-100"}`}
+ className={`flex items-center gap-2 px-3 py-1.5 min-h-[36px] bg-gradient-to-br from-[rgba(28,28,36,0.97)] to-[rgba(18,18,26,0.96)] backdrop-blur-[24px] border border-white/10 rounded-xl shadow-2xl transition-all duration-300 overflow-hidden ${!isWebcamHovered ? "opacity-60 grayscale-[0.5]" : "opacity-100"}`}
onMouseEnter={() => setIsWebcamHovered(true)}
onMouseLeave={() => setIsWebcamHovered(false)}
style={{ width: isWebcamHovered ? "240px" : "140px", transition: "width 300ms ease" }}