mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Improve images resizing quality accross the board
- Using mipmap: true and smooth: true for images that are downscaled (avatar, icons, ...) - Using mipmap: false and smooth: true for images that are potentially upscaled (background, overview, ...)
This commit is contained in:
@@ -135,7 +135,8 @@ WlSessionLock {
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
source: WallpaperManager.currentWallpaper !== "" ? WallpaperManager.currentWallpaper : ""
|
||||
cache: true
|
||||
smooth: false
|
||||
smooth: true
|
||||
mipmap: false
|
||||
visible: true // source for MultiEffect
|
||||
}
|
||||
|
||||
@@ -168,6 +169,8 @@ WlSessionLock {
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
visible: false
|
||||
asynchronous: true
|
||||
mipmap: true
|
||||
smooth: true
|
||||
}
|
||||
OpacityMask {
|
||||
anchors.fill: avatarImage
|
||||
|
||||
Reference in New Issue
Block a user