fix: make the identicons sharp

This commit is contained in:
Richard Ramos 2020-06-23 13:54:16 -04:00 committed by Iuri Matias
parent acecafbf83
commit 55fbd4b0fe
3 changed files with 13 additions and 2 deletions

View File

@ -65,6 +65,9 @@ Item {
height: 120 height: 120
fillMode: Image.PreserveAspectFit fillMode: Image.PreserveAspectFit
source: chatsModel.activeChannel.identicon source: chatsModel.activeChannel.identicon
mipmap: true
smooth: false
antialiasing: true
} }
StyledText { StyledText {
@ -162,6 +165,9 @@ Item {
fillMode: Image.PreserveAspectFit fillMode: Image.PreserveAspectFit
source: identicon source: identicon
visible: isMessage && authorCurrentMsg != authorPrevMsg && !isCurrentUser visible: isMessage && authorCurrentMsg != authorPrevMsg && !isCurrentUser
mipmap: true
smooth: false
antialiasing: true
MouseArea { MouseArea {
cursorShape: Qt.PointingHandCursor cursorShape: Qt.PointingHandCursor

View File

@ -26,7 +26,9 @@ Rectangle {
height: 80 height: 80
fillMode: Image.PreserveAspectCrop fillMode: Image.PreserveAspectCrop
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
mipmap: true
smooth: false
antialiasing: true
property bool rounded: true property bool rounded: true
property bool adapt: false property bool adapt: false
y: 78 y: 78

View File

@ -18,6 +18,9 @@ Rectangle {
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
source: roundedImage.source source: roundedImage.source
mipmap: true
smooth: false
antialiasing: true
} }
} }