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: round overlay notification and action corners

Louis Beaumontc25cf3496380
diff --git a/apps/screenpipe-app-tauri/src-tauri/swift/shortcut_reminder.swift b/apps/screenpipe-app-tauri/src-tauri/swift/shortcut_reminder.swift
index 19eb1ed36..e83b7ca5d 100644
--- a/apps/screenpipe-app-tauri/src-tauri/swift/shortcut_reminder.swift
+++ b/apps/screenpipe-app-tauri/src-tauri/swift/shortcut_reminder.swift
@@ -1502,7 +1502,8 @@ private struct OverlayNotificationView: View {
? Color.white.opacity(0.92)
: Color.white.opacity(0.10)
)
- .contentShape(Rectangle())
+ .clipShape(RoundedRectangle(cornerRadius: s(6)))
+ .contentShape(RoundedRectangle(cornerRadius: s(6)))
}
.buttonStyle(.plain)
.fixedSize()
@@ -1524,7 +1525,8 @@ private struct OverlayNotificationView: View {
height: kBaseNotificationH * scale
)
.background(Color.black)
- .overlay(Rectangle().stroke(Color.white.opacity(0.42), lineWidth: 1))
+ .clipShape(RoundedRectangle(cornerRadius: s(8)))
+ .overlay(RoundedRectangle(cornerRadius: s(8)).stroke(Color.white.opacity(0.42), lineWidth: 1))
}
}