From 43d9d5184d9a75d11b777f160cac4ab3827919e3 Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Tue, 15 Dec 2020 16:16:49 -0400 Subject: [PATCH] feat: close image popup on click --- ui/shared/status/StatusImageModal.qml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ui/shared/status/StatusImageModal.qml b/ui/shared/status/StatusImageModal.qml index 22a70df9b2f..9e7b42e0b67 100644 --- a/ui/shared/status/StatusImageModal.qml +++ b/ui/shared/status/StatusImageModal.qml @@ -49,5 +49,10 @@ Popup { anchors.verticalCenter: parent.verticalCenter mipmap: true smooth: false + + MouseArea { + onClicked: root.close() + anchors.fill: parent + } } }