1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-31 08:52:49 -05:00

core/dbus: support Normalize for more dbus types

This commit is contained in:
bbedward
2026-01-28 13:28:13 -05:00
parent eda59b348c
commit 757054e140
3 changed files with 37 additions and 8 deletions

View File

@@ -445,6 +445,15 @@ Item {
}
}
Rectangle {
id: maskRect
width: thumbnailImage.width
height: thumbnailImage.height
radius: Theme.cornerRadius
visible: false
layer.enabled: true
}
CachingImage {
id: thumbnailImage
anchors.fill: parent
@@ -456,13 +465,7 @@ Item {
maskEnabled: true
maskThresholdMin: 0.5
maskSpreadAtMin: 1.0
maskSource: ShaderEffectSource {
sourceItem: Rectangle {
width: thumbnailImage.width
height: thumbnailImage.height
radius: Theme.cornerRadius
}
}
maskSource: maskRect
}
}