From a176f0bf35a3e855f269d6349ebce37252746f94 Mon Sep 17 00:00:00 2001 From: Mayeul Cantan Date: Fri, 21 Aug 2020 21:17:35 +0200 Subject: Smooth Avatars in timeline This helps on low-dpi screens, getting rid of the jaggies. --- resources/qml/Avatar.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resources/qml') diff --git a/resources/qml/Avatar.qml b/resources/qml/Avatar.qml index 34b029a6..4adff572 100644 --- a/resources/qml/Avatar.qml +++ b/resources/qml/Avatar.qml @@ -33,7 +33,7 @@ Rectangle { asynchronous: true fillMode: Image.PreserveAspectCrop mipmap: true - smooth: false + smooth: true sourceSize.width: avatar.width sourceSize.height: avatar.height layer.enabled: true -- cgit 1.5.1 From 2c542c398a79ed0091b8bffae0fde131363df01e Mon Sep 17 00:00:00 2001 From: Mayeul Cantan Date: Fri, 21 Aug 2020 21:46:42 +0200 Subject: Smooth pictures in timeline --- resources/qml/delegates/ImageMessage.qml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'resources/qml') diff --git a/resources/qml/delegates/ImageMessage.qml b/resources/qml/delegates/ImageMessage.qml index 5c3dac95..e8e325f0 100644 --- a/resources/qml/delegates/ImageMessage.qml +++ b/resources/qml/delegates/ImageMessage.qml @@ -29,6 +29,8 @@ Item { source: model.data.url.replace("mxc://", "image://MxcImage/") asynchronous: true fillMode: Image.PreserveAspectFit + smooth: true + mipmap: true MouseArea { id: mouseArea -- cgit 1.5.1