mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-08 22:45:38 -05:00
Fix cropped profile image
This commit is contained in:
@@ -149,12 +149,12 @@ PanelWindow {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Circular clipping container for profile image
|
// Circular clipping container for profile image
|
||||||
Rectangle {
|
ClippingRectangle {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.margins: 1
|
anchors.margins: 1
|
||||||
radius: 31
|
radius: width / 2
|
||||||
|
antialiasing: true
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
clip: true
|
|
||||||
visible: parent.hasImage
|
visible: parent.hasImage
|
||||||
|
|
||||||
Image {
|
Image {
|
||||||
|
|||||||
Reference in New Issue
Block a user