macos: add soft shadow behind overlay bubble

This commit is contained in:
Peter Steinberger
2025-12-08 22:51:04 +01:00
parent fa9a92f214
commit 440558c44f

View File

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