harbour-fernschreiber/qml/components/messageContent/mediaAlbumPage/PhotoComponent.qml

16 lines
308 B
QML

import QtQuick 2.6
ZoomImage {
photoData: model.modelData.content.photo
onClicked: {
console.log('clicked', zoomed)
if(zoomed) {
zoomOut(true)
page.overlayActive = true
} else {
page.overlayActive = !page.overlayActive
}
}
}