summary refs log tree commit diff
path: root/resources/qml
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2020-11-12 14:04:06 +0100
committerGitHub <noreply@github.com>2020-11-12 14:04:06 +0100
commit9c4148cca33df4529b4d03c1e4ce6e72eaaed2c0 (patch)
treefc6ebf8d485dee484865ef62f0032c211a3c9701 /resources/qml
parentMerge pull request #320 from trilene/webrtc-video (diff)
parentSimplify PainterHighQualityEnabler code (diff)
downloadnheko-9c4148cca33df4529b4d03c1e4ce6e72eaaed2c0.tar.xz
Merge pull request #314 from MayeulC/smoothie-2
Smooth all the things [v2]
Diffstat (limited to 'resources/qml')
-rw-r--r--resources/qml/Avatar.qml2
-rw-r--r--resources/qml/delegates/ImageMessage.qml2
2 files changed, 3 insertions, 1 deletions
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
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