mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-09-25 23:35:43 +00:00
fix minimize after 2 clicks in the void, Recordly should always be on top
This commit is contained in:
+5
-1
@@ -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();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user