From 55fbd4b0fe3adc06afe9989547c9341b5fa0d648 Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Tue, 23 Jun 2020 13:54:16 -0400 Subject: [PATCH] fix: make the identicons sharp --- ui/app/AppLayouts/Chat/ChatColumn/Message.qml | 8 +++++++- ui/app/AppLayouts/Profile/LeftTab/Profile.qml | 4 +++- ui/shared/RoundImage.qml | 3 +++ 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/ui/app/AppLayouts/Chat/ChatColumn/Message.qml b/ui/app/AppLayouts/Chat/ChatColumn/Message.qml index 9cacd9e9a6..af2bb4fae9 100644 --- a/ui/app/AppLayouts/Chat/ChatColumn/Message.qml +++ b/ui/app/AppLayouts/Chat/ChatColumn/Message.qml @@ -65,6 +65,9 @@ Item { height: 120 fillMode: Image.PreserveAspectFit source: chatsModel.activeChannel.identicon + mipmap: true + smooth: false + antialiasing: true } StyledText { @@ -162,7 +165,10 @@ Item { fillMode: Image.PreserveAspectFit source: identicon visible: isMessage && authorCurrentMsg != authorPrevMsg && !isCurrentUser - + mipmap: true + smooth: false + antialiasing: true + MouseArea { cursorShape: Qt.PointingHandCursor anchors.fill: parent diff --git a/ui/app/AppLayouts/Profile/LeftTab/Profile.qml b/ui/app/AppLayouts/Profile/LeftTab/Profile.qml index c8164923fc..feff5f4986 100644 --- a/ui/app/AppLayouts/Profile/LeftTab/Profile.qml +++ b/ui/app/AppLayouts/Profile/LeftTab/Profile.qml @@ -26,7 +26,9 @@ Rectangle { height: 80 fillMode: Image.PreserveAspectCrop anchors.horizontalCenter: parent.horizontalCenter - + mipmap: true + smooth: false + antialiasing: true property bool rounded: true property bool adapt: false y: 78 diff --git a/ui/shared/RoundImage.qml b/ui/shared/RoundImage.qml index baaaaca5c4..c1e475a73c 100644 --- a/ui/shared/RoundImage.qml +++ b/ui/shared/RoundImage.qml @@ -18,6 +18,9 @@ Rectangle { anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter source: roundedImage.source + mipmap: true + smooth: false + antialiasing: true } }