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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user