Skip to content

Commit 0c338aa

Browse files
javierpr0claude
andcommitted
fix: narrow working notch pill (+50 instead of +80)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 9823284 commit 0c338aa

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Notchy/NotchWindow.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ class NotchWindow: NSPanel {
172172
guard let screen = NSScreen.builtIn else { return }
173173
let screenFrame = screen.frame
174174

175-
let targetWidth: CGFloat = notchWidth + 80
175+
let targetWidth: CGFloat = notchWidth + 50
176176
var targetFrame = NSRect(
177177
x: screenFrame.midX - targetWidth / 2,
178178
y: screenFrame.maxY - notchHeight,
@@ -380,7 +380,7 @@ class NotchWindow: NSPanel {
380380
// Check the notch area itself
381381
guard let screen = NSScreen.builtIn else { return }
382382
let screenFrame = screen.frame
383-
let effectiveWidth = isExpanded ? notchWidth + 80 : notchWidth
383+
let effectiveWidth = isExpanded ? notchWidth + 50 : notchWidth
384384
let notchRect = NSRect(
385385
x: screenFrame.midX - effectiveWidth / 2,
386386
y: screenFrame.maxY - notchHeight,
@@ -443,7 +443,7 @@ class NotchWindow: NSPanel {
443443
pillContentHost?.rootView = NotchPillContent(isHovering: false)
444444
guard let screen = NSScreen.builtIn else { return }
445445
let screenFrame = screen.frame
446-
let baseWidth = isExpanded ? notchWidth + 80 : notchWidth
446+
let baseWidth = isExpanded ? notchWidth + 50 : notchWidth
447447
let targetFrame = NSRect(
448448
x: screenFrame.midX - baseWidth / 2,
449449
y: screenFrame.maxY - notchHeight,

0 commit comments

Comments
 (0)