Propagate mouse click events on avatars

This commit is contained in:
miruka
2019-07-09 23:49:59 -04:00
parent 7e4cee31c7
commit d091f3bcb6
3 changed files with 7 additions and 2 deletions

View File

@@ -52,6 +52,7 @@ Rectangle {
id: imageMouseArea
anchors.fill: parent
hoverEnabled: true
propagateComposedEvents: true
}
HToolTip {

View File

@@ -15,4 +15,10 @@ ToolTip {
exit: Transition {
HNumberAnimation { property: "opacity"; from: 1.0; to: 0.0 }
}
MouseArea {
anchors.fill: parent
propagateComposedEvents: true
onClicked: { toolTip.close(); mouse.accepted = false }
}
}