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
1 changed files with 4 additions and 0 deletions

View File

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