1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-05 21:15:38 -05:00

Crop CircularImages not fit

This commit is contained in:
bbedward
2025-10-08 18:16:16 -04:00
parent bb4b9f1a58
commit 10b7a0875b

View File

@@ -23,7 +23,7 @@ Rectangle {
anchors.fill: parent
anchors.margins: 2
asynchronous: true
fillMode: Image.PreserveAspectFit
fillMode: Image.PreserveAspectCrop
smooth: true
mipmap: true
cache: true
@@ -44,8 +44,9 @@ Rectangle {
Item {
id: circularMask
anchors.fill: parent
anchors.margins: 2
anchors.centerIn: parent
width: parent.width - 4
height: parent.height - 4
layer.enabled: true
layer.smooth: true
visible: false