Fix Image Replies
Make sure that the image container has it's implicit width/height set so that the correct size can always be calculated. This was breaking images that were a reply to another message (not sure if that's legal because we don't allow but other clients do because I found one).
This commit is contained in:
@@ -103,6 +103,9 @@ TimelineContainer {
|
|||||||
|
|
||||||
property var imageItem: root.mediaInfo.animated ? animatedImageLoader.item : imageLoader.item
|
property var imageItem: root.mediaInfo.animated ? animatedImageLoader.item : imageLoader.item
|
||||||
|
|
||||||
|
implicitWidth: root.mediaInfo.animated ? animatedImageLoader.width : imageLoader.width
|
||||||
|
implicitHeight: root.mediaInfo.animated ? animatedImageLoader.height : imageLoader.height
|
||||||
|
|
||||||
Loader {
|
Loader {
|
||||||
id: imageLoader
|
id: imageLoader
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user