diff --git a/resources/qml/Account/AvatarImage.qml b/resources/qml/Account/AvatarImage.qml
index 333bce29d7..21adbcb7c3 100644
--- a/resources/qml/Account/AvatarImage.qml
+++ b/resources/qml/Account/AvatarImage.qml
@@ -26,31 +26,27 @@ Item
visible: false
}
- UM.RecolorImage
+ Rectangle
{
id: profileImageMask
- source: UM.Theme.getIcon("circle_mask")
- sourceSize: Qt.size(parent.width, parent.height)
anchors.fill: parent
- color: UM.Theme.getColor("topheader_background")
- visible: false
+ radius: width
}
OpacityMask
{
- anchors.fill: profileImage
+ anchors.fill: parent
source: profileImage
maskSource: profileImageMask
cached: true
- invert: false
}
UM.RecolorImage
{
id: profileImageOutline
+ anchors.fill: parent
source: UM.Theme.getIcon("circle_outline")
sourceSize: Qt.size(parent.width, parent.height)
- anchors.fill: parent
color: UM.Theme.getColor("account_widget_ouline_active")
}
}
\ No newline at end of file
diff --git a/resources/themes/cura-light/icons/circle_mask.svg b/resources/themes/cura-light/icons/circle_mask.svg
deleted file mode 100644
index d5bfe53a97..0000000000
--- a/resources/themes/cura-light/icons/circle_mask.svg
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
diff --git a/resources/themes/cura-light/icons/circle_outline.svg b/resources/themes/cura-light/icons/circle_outline.svg
index 4d0b0e4eb0..3a8fb197f3 100644
--- a/resources/themes/cura-light/icons/circle_outline.svg
+++ b/resources/themes/cura-light/icons/circle_outline.svg
@@ -1,64 +1,4 @@
-
-
-
-
+
+
\ No newline at end of file