chore: remove overlay shadow/border
This commit is contained in:
@@ -137,7 +137,7 @@ final class VoiceWakeOverlayController: ObservableObject {
|
|||||||
defer: false)
|
defer: false)
|
||||||
panel.isOpaque = false
|
panel.isOpaque = false
|
||||||
panel.backgroundColor = .clear
|
panel.backgroundColor = .clear
|
||||||
panel.hasShadow = true
|
panel.hasShadow = false
|
||||||
panel.level = .statusBar
|
panel.level = .statusBar
|
||||||
panel.collectionBehavior = [.canJoinAllSpaces, .fullScreenAuxiliary, .transient]
|
panel.collectionBehavior = [.canJoinAllSpaces, .fullScreenAuxiliary, .transient]
|
||||||
panel.hidesOnDeactivate = false
|
panel.hidesOnDeactivate = false
|
||||||
@@ -242,7 +242,6 @@ private struct VoiceWakeOverlayView: View {
|
|||||||
.padding(.horizontal, 10)
|
.padding(.horizontal, 10)
|
||||||
.background(.regularMaterial)
|
.background(.regularMaterial)
|
||||||
.clipShape(RoundedRectangle(cornerRadius: 12, style: .continuous))
|
.clipShape(RoundedRectangle(cornerRadius: 12, style: .continuous))
|
||||||
.shadow(color: .black.opacity(0.15), radius: 12, y: 6)
|
|
||||||
.onAppear { self.focused = false }
|
.onAppear { self.focused = false }
|
||||||
.onChange(of: self.controller.model.text) { _, _ in
|
.onChange(of: self.controller.model.text) { _, _ in
|
||||||
self.focused = false
|
self.focused = false
|
||||||
|
|||||||
Reference in New Issue
Block a user