general: better multieffect mask settings

Better launcher wallpaper rounding and bar active workspace indicator
This commit is contained in:
2 * r + 2 * t 2025-05-04 15:21:52 +10:00
parent 3de11aee36
commit 07e6f1b417
3 changed files with 6 additions and 2 deletions

View file

@ -48,8 +48,8 @@ Rectangle {
source: base
maskSource: root.mask
maskEnabled: true
maskSpreadAtMin: 0.6
maskThresholdMin: 0.4
maskSpreadAtMin: 1
maskThresholdMin: 0.5
x: root.vertical ? 0 : -parent.offset
y: root.vertical ? -parent.offset : 0

View file

@ -26,6 +26,7 @@ Item {
spacing: 0
layer.enabled: true
layer.smooth: true
Repeater {
model: BarConfig.workspaces.shown

View file

@ -43,6 +43,7 @@ StyledRect {
id: mask
layer.enabled: true
layer.smooth: true
visible: false
anchors.fill: image
radius: Appearance.rounding.normal
@ -66,6 +67,8 @@ StyledRect {
source: image
maskEnabled: true
maskSource: mask
maskSpreadAtMin: 1
maskThresholdMin: 0.5
}
StyledText {