diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-05-10 03:19:53 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-05-10 03:20:09 +0200 |
commit | a6b2be112b9a9450998985cbc5ec4ce10a5ae432 (patch) | |
tree | ac8f472f4a662679f3304c380e95f75d12b2415e /resources/qml/Root.qml | |
parent | Add mtxclient to logging (diff) | |
download | nheko-a6b2be112b9a9450998985cbc5ec4ce10a5ae432.tar.xz |
More image dialog fixes
Diffstat (limited to 'resources/qml/Root.qml')
-rw-r--r-- | resources/qml/Root.qml | 3 |
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); } |