From d2747e2ca1e211a32e91e44010f40a00e0ac97e4 Mon Sep 17 00:00:00 2001 From: Leander Scherer Date: Sat, 30 May 2026 15:35:27 +0200 Subject: feat(quickshell): add popup controls and privacy indicators --- modules/system/quickshell/squircle.frag | 2 -- 1 file changed, 2 deletions(-) (limited to 'modules/system/quickshell/squircle.frag') diff --git a/modules/system/quickshell/squircle.frag b/modules/system/quickshell/squircle.frag index df2477f..058468e 100644 --- a/modules/system/quickshell/squircle.frag +++ b/modules/system/quickshell/squircle.frag @@ -27,13 +27,11 @@ void main() { vec2 halfSize = vec2(ubuf.width, ubuf.height) * 0.5; vec2 p = (qt_TexCoord0 * vec2(ubuf.width, ubuf.height)) - halfSize; - // Applied the scaling factor mentioned in the original comment float r = ubuf.cornerRadius * 1.5286; float dist = squircleSDF(p, halfSize, r); float fwidth_dist = fwidth(dist); - // Corrected edge parameter order to avoid undefined behavior float alpha = 1.0 - smoothstep(-fwidth_dist, fwidth_dist, dist); if (ubuf.strokeWidth > 0.0) { -- cgit v1.3.1