From 85f0ffb6bf493efcafff97335e88cd51297e45c9 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sun, 10 Apr 2022 04:10:32 +0200 Subject: Remove boundary handling in image overlay They hurt more than they are helping --- resources/qml/Root.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'resources/qml/Root.qml') 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); -- cgit 1.5.1