From 7d9036f2f8be93fa95478bdde9b26dc06f5e8728 Mon Sep 17 00:00:00 2001 From: LudoO Date: Sun, 16 Feb 2025 12:49:01 +0100 Subject: [PATCH] fix: remove console.log for currentDisplay --- src/main/tray.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/tray.ts b/src/main/tray.ts index 7033a85..b035865 100644 --- a/src/main/tray.ts +++ b/src/main/tray.ts @@ -101,9 +101,9 @@ export function alignWindow(window: BaseWindow) { } function calculateWindowPosition() { - // To detect proper desktop/workspace, find the display where the mouse cursor is - const currentDisplay = getDisplayNearestPoint(); - console.log("currentDisplay.workArea=", currentDisplay.workArea); + // // To detect proper desktop/workspace, find the display where the mouse cursor is + // const currentDisplay = getDisplayNearestPoint(); + // console.log("currentDisplay.workArea=", currentDisplay.workArea); const margin = { x: trayOptions.margin.x, // + currentDisplay.workArea.width,