GeneralTab: make avatar always circle

This commit is contained in:
Ly-sec
2025-12-03 12:14:38 +01:00
parent aa898ede25
commit 500f25da6e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -124,4 +124,4 @@ Item {
}
}
}
}
}
+1 -1
View File
@@ -24,7 +24,7 @@ ColumnLayout {
NImageRounded {
Layout.preferredWidth: 88 * Style.uiScaleRatio
Layout.preferredHeight: width
radius: Math.min((Layout.preferredWidth / 2) * Settings.data.general.radiusRatio, Layout.preferredWidth / 2)
radius: width / 2
imagePath: Settings.preprocessPath(Settings.data.general.avatarImage)
fallbackIcon: "person"
borderColor: Color.mPrimary