NImageRounded/Circled: removed shaders and used a simpler ClippingWrapperRectangle

This commit is contained in:
ItsLemmy
2025-11-25 19:38:23 -05:00
parent 12fe6c5559
commit b7d4e74012
15 changed files with 69 additions and 258 deletions
@@ -25,9 +25,10 @@ NBox {
anchors.margins: Style.marginM
spacing: Style.marginM
NImageCircled {
NImageRounded {
Layout.preferredWidth: Math.round(Style.baseWidgetSize * 1.25 * Style.uiScaleRatio)
Layout.preferredHeight: Math.round(Style.baseWidgetSize * 1.25 * Style.uiScaleRatio)
radius: width * 0.5
imagePath: Settings.preprocessPath(Settings.data.general.avatarImage)
fallbackIcon: "person"
borderColor: Color.mPrimary