Skip to content

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

fix minimize after 2 clicks in the void, Recordly should always be on top

Alan Trebugeaisaa241d96a662
diff --git a/electron/windows.ts b/electron/windows.ts
index e4fc05d6..f4d59b5d 100644
--- a/electron/windows.ts
+++ b/electron/windows.ts
@@ -305,8 +305,12 @@ ipcMain.on("hud-overlay-drag", (_event, phase: string, screenX: number, screenY:
});
ipcMain.on("hud-overlay-hide", () => {
+ // Keep the HUD persistent: accidental hide events should not minimize it.
if (hudOverlayWindow && !hudOverlayWindow.isDestroyed()) {
- hudOverlayWindow.minimize();
+ if (!hudOverlayWindow.isVisible()) {
+ hudOverlayWindow.show();
+ }
+ hudOverlayWindow.moveTop();
}
});