Skip to content

Edge-Drop is a clipboard shelf on the edge of your screen. Hover to open it. Drag files and images into any app, click to copy text and links. Free and open-source for Windows.

fix: pause setAlwaysOnTop heartbeat when panel is open/interactive to fix tooltip and drag-ghost z-order bugs

Deepender25d40d0d7d9bf9
diff --git a/electron/main/window.ts b/electron/main/window.ts
index 4464c79..b3afba9 100644
--- a/electron/main/window.ts
+++ b/electron/main/window.ts
@@ -266,7 +266,7 @@ export function createWindow(): BrowserWindow {
// ensures the panel instantly re-appears when the user exits fullscreen.
if (heartbeatTimer !== null) clearInterval(heartbeatTimer)
heartbeatTimer = setInterval(() => {
- if (runtime.quitting || heartbeatPaused) return
+ if (runtime.quitting || heartbeatPaused || interactive) return
if (mainWindow && !mainWindow.isDestroyed() && mainWindow.isVisible()) {
mainWindow.setAlwaysOnTop(true, 'screen-saver')
}