Skip to content

Commit 2f860fa

Browse files
Fix countdown width
1 parent 97956b9 commit 2f860fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/main/lib/windows.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ export function createBreakWindows(): void {
104104
if (settings.postponeBreakEnabled) buttonCount++;
105105
if (settings.skipBreakEnabled) buttonCount++;
106106

107-
const notificationWidth = 450 + (buttonCount - 1) * 50;
107+
const notificationWidth =
108+
450 + (buttonCount - 1) * 50 + (buttonCount === 3 ? 20 : 0);
108109

109110
const displays = screen.getAllDisplays();
110111
for (let windowIndex = 0; windowIndex < displays.length; windowIndex++) {

0 commit comments

Comments
 (0)