fix: remove console.log for currentDisplay
This commit is contained in:
1 parent
bb0812349b
commit
7d9036f2f8
1 file changed
+3
-3
+3
-3
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user