macos: swap bubble shadow for 1px border

This commit is contained in:
Peter Steinberger
2025-12-08 23:14:00 +01:00
parent 5dd5c9c605
commit a6426d0ac5

View File

@@ -383,8 +383,10 @@ private struct VoiceWakeOverlayView: View {
.frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .topLeading)
.background(
RoundedRectangle(cornerRadius: 12, style: .continuous)
.fill(.regularMaterial)
.shadow(color: Color.black.opacity(0.22), radius: 14, x: 0, y: 4))
.strokeBorder(Color.white.opacity(0.12), lineWidth: 1)
.background(
RoundedRectangle(cornerRadius: 12, style: .continuous)
.fill(.regularMaterial)))
.onHover { self.isHovering = $0 }
// Close button rendered above and outside the clipped bubble