mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-02 10:37:50 +00:00
Avatar: Back to Image instead of IconImage due to a rendering bug
- Took many screenshots and compared them in GIMP and it's true, IconImage is a not as sharp as Image. Bug was already reported on Quickshell github https://github.com/quickshell-mirror/quickshell/issues/128
This commit is contained in:
@@ -6,20 +6,17 @@ import QtQuick.Effects
|
||||
|
||||
Item {
|
||||
anchors.fill: parent
|
||||
anchors.margins: 2
|
||||
|
||||
anchors.leftMargin: 2
|
||||
anchors.rightMargin: 2
|
||||
anchors.topMargin: 2
|
||||
anchors.bottomMargin: 2
|
||||
|
||||
IconImage {
|
||||
Image {
|
||||
id: avatarImage
|
||||
anchors.fill: parent
|
||||
anchors.margins: 2
|
||||
source: "file://" + Settings.settings.profileImage
|
||||
visible: false
|
||||
mipmap: true
|
||||
smooth: true
|
||||
asynchronous: true
|
||||
backer.fillMode: Image.PreserveAspectCrop
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
}
|
||||
|
||||
MultiEffect {
|
||||
|
||||
Reference in New Issue
Block a user