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:
parent
5e2ad9dec6
commit
8bb7bbda14
1 changed files with 5 additions and 8 deletions
|
|
@ -6,20 +6,17 @@ import QtQuick.Effects
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
anchors.margins: 2
|
||||||
|
|
||||||
anchors.leftMargin: 2
|
Image {
|
||||||
anchors.rightMargin: 2
|
|
||||||
anchors.topMargin: 2
|
|
||||||
anchors.bottomMargin: 2
|
|
||||||
|
|
||||||
IconImage {
|
|
||||||
id: avatarImage
|
id: avatarImage
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.margins: 2
|
|
||||||
source: "file://" + Settings.settings.profileImage
|
source: "file://" + Settings.settings.profileImage
|
||||||
visible: false
|
visible: false
|
||||||
|
mipmap: true
|
||||||
|
smooth: true
|
||||||
asynchronous: true
|
asynchronous: true
|
||||||
backer.fillMode: Image.PreserveAspectCrop
|
fillMode: Image.PreserveAspectCrop
|
||||||
}
|
}
|
||||||
|
|
||||||
MultiEffect {
|
MultiEffect {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue