Smooth avatar.

This commit is contained in:
Black Hat 2019-03-03 18:28:05 +08:00
parent 6dd33af0ca
commit c683d6576e
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ Item {
sourceSize.width: width sourceSize.width: width
sourceSize.height: width sourceSize.height: width
fillMode: Image.PreserveAspectCrop fillMode: Image.PreserveAspectCrop
mipmap: true
layer.enabled: true layer.enabled: true
layer.effect: OpacityMask { layer.effect: OpacityMask {
maskSource: Rectangle { maskSource: Rectangle {