Close image viewer when clicking on the background

fixes #1088
This commit is contained in:
Nicolas Werner 2022-06-15 20:55:51 +02:00
parent 835fcf6325
commit 6afe3fa39d
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -28,6 +28,10 @@ Window {
onActivated: imageOverlay.close() onActivated: imageOverlay.close()
} }
TapHandler {
onSingleTapped: imageOverlay.close();
}
Item { Item {
id: imgContainer id: imgContainer