fix: hover state on compact messages

This commit is contained in:
Richard Ramos 2021-02-09 16:40:39 -04:00 committed by Jonathan Rainville
parent 2ac67f95aa
commit 3f525a0b2a
1 changed files with 3 additions and 11 deletions

View File

@ -236,17 +236,9 @@ Item {
}
}
// TODO find a way for this to not eat link hovers
MouseArea {
enabled: !placeholderMessage
anchors.fill: root
acceptedButtons: Qt.NoButton
hoverEnabled: true
onEntered: {
root.isHovered = true
}
onExited: {
root.isHovered = false
HoverHandler {
onHoveredChanged: {
root.isHovered = hovered;
}
}