diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-03-09 20:15:37 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-03-09 20:15:37 +0100 |
commit | 7a11b69f998553056b568d163c60aa635114fcd7 (patch) | |
tree | c381f4a041507fb253cb769deccb07593655b59f /resources/qml/delegates/ImageMessage.qml | |
parent | Fix a few alignment issues in the hover menu (diff) | |
download | nheko-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.qml | 2 |
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 |