mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 09:30:47 +03:00
Disable mipmaps for avatars
This commit is contained in:
parent
9232e5867a
commit
bab5dd9fdb
1 changed files with 0 additions and 2 deletions
|
@ -55,8 +55,6 @@ AbstractButton {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
asynchronous: true
|
asynchronous: true
|
||||||
fillMode: avatar.crop ? Image.PreserveAspectCrop : Image.PreserveAspectFit
|
fillMode: avatar.crop ? Image.PreserveAspectCrop : Image.PreserveAspectFit
|
||||||
mipmap: true
|
|
||||||
smooth: true
|
|
||||||
source: if (avatar.url.startsWith('image://colorimage')) {
|
source: if (avatar.url.startsWith('image://colorimage')) {
|
||||||
return avatar.url + "&radius=" + (Settings.avatarCircles ? 100 : 25) + ((avatar.crop) ? "" : "&scale");
|
return avatar.url + "&radius=" + (Settings.avatarCircles ? 100 : 25) + ((avatar.crop) ? "" : "&scale");
|
||||||
} else if (avatar.url.startsWith('image://')) {
|
} else if (avatar.url.startsWith('image://')) {
|
||||||
|
|
Loading…
Reference in a new issue