Skip to content

Commit f82a945

Browse files
committed
fix(fancy-bar): improve shadow rendering
When a niri output was configured with larger scale values (e.g. 2), the shadow underneath the bar was rendered with visible gradient steps. Setting the `blurMultiplier` to 1 fixes this. The slightly higher opacity makes it a bit more prominent when the scale is 1.
1 parent c506ea1 commit f82a945

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fancy-bar/modules/bar/Bar.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ Item {
3838
shadowVerticalOffset: root.position === Types.Position.Top ? 5 : -5
3939
shadowHorizontalOffset: -20
4040
shadowBlur: 1
41-
blurMultiplier: 1.5
42-
shadowColor: "#C0000000"
41+
blurMultiplier: 1
42+
shadowColor: "#D0000000"
4343
}
4444
}
4545
}

0 commit comments

Comments
 (0)