diff options
author | Nicolas Werner <nicolas.werner@ymail.com> | 2022-04-10 04:10:32 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@ymail.com> | 2022-04-10 04:10:32 +0200 |
commit | 85f0ffb6bf493efcafff97335e88cd51297e45c9 (patch) | |
tree | 0718adc66dae676c9f38ad8f9b02c4162c5cfdb2 /resources/qml/Root.qml | |
parent | Make sender_key in key requests optional (diff) | |
download | nheko-85f0ffb6bf493efcafff97335e88cd51297e45c9.tar.xz |
Remove boundary handling in image overlay
They hurt more than they are helping
Diffstat (limited to 'resources/qml/Root.qml')
-rw-r--r-- | resources/qml/Root.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/qml/Root.qml b/resources/qml/Root.qml index cd97cce2..72f30b7a 100644 --- a/resources/qml/Root.qml +++ b/resources/qml/Root.qml @@ -288,7 +288,9 @@ Pane { var dialog = imageOverlay.createObject(timelineRoot, { "room": room, "eventId": eventId, - "url": url + "url": url, + "originalWidth": originalWidth ?? 0, + "proportionalHeight": proportionalHeight ?? 0 }); dialog.showFullScreen(); destroyOnClose(dialog); |