From a6b2be112b9a9450998985cbc5ec4ce10a5ae432 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Tue, 10 May 2022 03:19:53 +0200 Subject: More image dialog fixes --- resources/qml/Root.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'resources/qml/Root.qml') 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); } -- cgit 1.5.1