summary refs log tree commit diff
path: root/resources/qml/Root.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-05-10 03:19:53 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-05-10 03:20:09 +0200
commita6b2be112b9a9450998985cbc5ec4ce10a5ae432 (patch)
treeac8f472f4a662679f3304c380e95f75d12b2415e /resources/qml/Root.qml
parentAdd mtxclient to logging (diff)
downloadnheko-a6b2be112b9a9450998985cbc5ec4ce10a5ae432.tar.xz
More image dialog fixes
Diffstat (limited to 'resources/qml/Root.qml')
-rw-r--r--resources/qml/Root.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/qml/Root.qml b/resources/qml/Root.qml
index 72f30b7a..00600508 100644
--- a/resources/qml/Root.qml
+++ b/resources/qml/Root.qml
@@ -284,7 +284,7 @@ Pane {
             destroyOnClose(dialog);
         }
 
-        function onShowImageOverlay(room, eventId, url, proportionalHeight, originalWidth) {
+        function onShowImageOverlay(room, eventId, url, originalWidth, proportionalHeight) {
             var dialog = imageOverlay.createObject(timelineRoot, {
                 "room": room,
                 "eventId": eventId,
@@ -292,6 +292,7 @@ Pane {
                 "originalWidth": originalWidth ?? 0,
                 "proportionalHeight": proportionalHeight ?? 0
             });
+
             dialog.showFullScreen();
             destroyOnClose(dialog);
         }