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 a3113bd commit 7cc3635Copy full SHA for 7cc3635
Sources/GateEngine/UI/View.swift
@@ -817,7 +817,7 @@ extension View {
817
&& (pos.x < radius && pos.y > viewSize.height - radius)
818
&& (radius - pos.distance(from: Vec2(radius, viewSize.height - radius)) < 0)
819
820
- fsh.output.color = Vec4(backgroundColor.rgb, fsh.uniforms["opacity"]).discard(if: (radius > 0) && (topLeft || topRight || bottomRight || bottomLeft))
+ fsh.output.color = Vec4(backgroundColor.rgb, backgroundColor.a * fsh.uniforms["opacity"]).discard(if: (radius > 0) && (topLeft || topRight || bottomRight || bottomLeft))
821
822
return fsh
823
}()
0 commit comments