fix: remove console.log for currentDisplay

This commit is contained in:
LudoO committed 2025-02-16 12:49:01 +01:00
1 parent bb0812349b
commit 7d9036f2f8
1 file changed
+3 -3
+3 -3
View File
@@ -101,9 +101,9 @@ export function alignWindow(window: BaseWindow) {
} }
function calculateWindowPosition() { function calculateWindowPosition() {
// To detect proper desktop/workspace, find the display where the mouse cursor is // // To detect proper desktop/workspace, find the display where the mouse cursor is
const currentDisplay = getDisplayNearestPoint(); // const currentDisplay = getDisplayNearestPoint();
console.log("currentDisplay.workArea=", currentDisplay.workArea); // console.log("currentDisplay.workArea=", currentDisplay.workArea);
const margin = { const margin = {
x: trayOptions.margin.x, // + currentDisplay.workArea.width, x: trayOptions.margin.x, // + currentDisplay.workArea.width,