feat: close image popup on click

This commit is contained in:
Richard Ramos 2020-12-15 16:16:49 -04:00 committed by Iuri Matias
parent b524c3b423
commit 43d9d5184d
1 changed files with 5 additions and 0 deletions

View File

@ -49,5 +49,10 @@ Popup {
anchors.verticalCenter: parent.verticalCenter
mipmap: true
smooth: false
MouseArea {
onClicked: root.close()
anchors.fill: parent
}
}
}