Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: add 16pt margin to native Swift notification panel positioning

Louis Beaumont63747c823607
diff --git a/apps/screenpipe-app-tauri/src-tauri/swift/notification_panel.swift b/apps/screenpipe-app-tauri/src-tauri/swift/notification_panel.swift
index e517f45af..9991c50fd 100644
--- a/apps/screenpipe-app-tauri/src-tauri/swift/notification_panel.swift
+++ b/apps/screenpipe-app-tauri/src-tauri/swift/notification_panel.swift
@@ -657,8 +657,8 @@ class NotificationPanelController: NSObject {
if NSMouseInRect(mouseLocation, screen.frame, false) {
let visible = screen.visibleFrame
let panelHeight = panel.frame.height
- let x = visible.origin.x + visible.size.width - Self.panelWidth
- let y = visible.origin.y + visible.size.height - panelHeight
+ let x = visible.origin.x + visible.size.width - Self.panelWidth - 16
+ let y = visible.origin.y + visible.size.height - panelHeight - 16
panel.setFrameOrigin(NSPoint(x: x, y: y))
break
}