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() {
|
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,
|
||||||
|
|||||||
Reference in new issue
Block a user