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

17 lines
308 B
QML
Raw Normal View History

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
}
}
}