macos: swap bubble shadow for 1px border
parent
5dd5c9c605
commit
a6426d0ac5
|
|
@ -383,8 +383,10 @@ private struct VoiceWakeOverlayView: View {
|
||||||
.frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .topLeading)
|
.frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .topLeading)
|
||||||
.background(
|
.background(
|
||||||
RoundedRectangle(cornerRadius: 12, style: .continuous)
|
RoundedRectangle(cornerRadius: 12, style: .continuous)
|
||||||
.fill(.regularMaterial)
|
.strokeBorder(Color.white.opacity(0.12), lineWidth: 1)
|
||||||
.shadow(color: Color.black.opacity(0.22), radius: 14, x: 0, y: 4))
|
.background(
|
||||||
|
RoundedRectangle(cornerRadius: 12, style: .continuous)
|
||||||
|
.fill(.regularMaterial)))
|
||||||
.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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue