summary refs log tree commit diff
path: root/resources/qml/delegates/ImageMessage.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-03-09 20:15:37 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2022-03-09 20:15:37 +0100
commit7a11b69f998553056b568d163c60aa635114fcd7 (patch)
treec381f4a041507fb253cb769deccb07593655b59f /resources/qml/delegates/ImageMessage.qml
parentFix a few alignment issues in the hover menu (diff)
downloadnheko-7a11b69f998553056b568d163c60aa635114fcd7.tar.xz
Fix images being cropped instead of scaled
Diffstat (limited to 'resources/qml/delegates/ImageMessage.qml')
-rw-r--r--resources/qml/delegates/ImageMessage.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/delegates/ImageMessage.qml b/resources/qml/delegates/ImageMessage.qml
index 7664d6fd..efd4f4a5 100644
--- a/resources/qml/delegates/ImageMessage.qml
+++ b/resources/qml/delegates/ImageMessage.qml
@@ -45,7 +45,7 @@ Item {
 
         visible: !mxcimage.loaded
         anchors.fill: parent
-        source: url.replace("mxc://", "image://MxcImage/")
+        source: url.replace("mxc://", "image://MxcImage/") + "?scale"
         asynchronous: true
         fillMode: Image.PreserveAspectFit
         smooth: true