From 5ff072ad6899929dc742447ebefe5d750987b8e4 Mon Sep 17 00:00:00 2001 From: Thomas Darde Date: Wed, 22 Jul 2020 19:28:28 +0200 Subject: [PATCH] When traySide is on the left, show window at center It's not perfect , but at least not broken. Before this change, the window was partially hidden when taskbar is on the left --- src/util/getWindowPosition.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/getWindowPosition.ts b/src/util/getWindowPosition.ts index e33f5a1..b262b0c 100644 --- a/src/util/getWindowPosition.ts +++ b/src/util/getWindowPosition.ts @@ -73,7 +73,7 @@ export function getWindowPosition(tray: Tray): WindowPosition { return 'trayBottomCenter'; } if (traySide === 'left') { - return 'trayBottomLeft'; + return 'center'; } if (traySide === 'right') { return 'bottomRight';