Introducing fragment shaders for image rounding.

This commit is contained in:
LemmyCook 2025-08-22 13:59:49 -04:00
parent 8f951946ea
commit b6379da96c
12 changed files with 193 additions and 31 deletions

View file

@ -44,13 +44,13 @@ ColumnLayout {
spacing: Style.marginL * scaling
// Avatar preview
NImageRounded {
NImageCircled {
width: 64 * scaling
height: 64 * scaling
imagePath: Settings.data.general.avatarImage
fallbackIcon: "person"
borderColor: Color.mPrimary
borderWidth: Math.max(1, Style.borderM)
borderWidth: Math.max(1, Style.borderM * scaling)
}
NTextInput {