bar: change shadow to configurable

This commit is contained in:
Sighthesia
2025-10-05 17:48:01 +08:00
committed by GitHub
parent 31706e2724
commit c1fa902189
@@ -27,7 +27,7 @@ Item { // Bar content region
// Background shadow
Loader {
active: false // For bars background color consistency
active: Config.options.bar.showBackground && Config.options.bar.cornerStyle === 1 && Config.options.bar.floatShadow
anchors.fill: barBackground
sourceComponent: StyledRectangularShadow {
anchors.fill: undefined // The loader's anchors act on this, and this should not have any anchor