Skip to content

Commit c82b334

Browse files
committed
fix(circleimage): Update CircleImage to use CircleMask
1 parent 9f4d5a2 commit c82b334

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

src/extras/CircleImage.qml

+1-11
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,8 @@ Item {
3434
mipmap: true
3535
}
3636

37-
Extras.Image {
38-
id: mask
39-
source: Qt.resolvedUrl("images/circle.png")
40-
anchors.fill: image
41-
smooth: true
42-
visible: false
43-
mipmap: true
44-
}
45-
46-
OpacityMask {
37+
CircleMask {
4738
anchors.fill: image
4839
source: image
49-
maskSource: mask
5040
}
5141
}

src/extras/circle.png

-25.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)