We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0871a1 commit 438790bCopy full SHA for 438790b
1 file changed
Sources/SwiftGlass/GlassBackgroundModifier.swift
@@ -83,7 +83,9 @@ public struct GlassBackgroundModifier: ViewModifier {
83
.tint(color)
84
} else {
85
content
86
+ #if !os(visionOS)
87
.glassEffect(.regular.tint(color.opacity(colorOpacity)).interactive(), in: .rect(cornerRadius: radius))
88
+ #endif
89
.cornerRadius(radius)
90
.shadow(color: shadowColor.opacity(shadowOpacity), radius: shadowRadius, x: shadowX, y: shadowY)
91
}
0 commit comments