Masking is not avaliable after the QT6 upgrade, this does a kind of primitive masking by placing a rectangle with a circular hole in it over the image.

CURA-9104
This commit is contained in:
j.delarago 2022-04-11 14:10:27 +02:00
parent d1d45b4f41
commit 94e5a4e1db
5 changed files with 27 additions and 20 deletions

View file

@ -30,6 +30,7 @@ Column
height: UM.Theme.getSize("main_window_header").height
source: profile["profile_image_url"] ? profile["profile_image_url"] : ""
maskColor: UM.Theme.getColor("main_background")
outlineColor: UM.Theme.getColor("main_background")
}
Rectangle