Hide tooltips when they're not hovered anymore
Fix hovered avatar staying visible when cursor goes outside of window (in most cases)
This commit is contained in:
parent
3439a74dab
commit
29107ca7f2
|
@ -19,4 +19,8 @@ ToolTip {
|
||||||
TapHandler {
|
TapHandler {
|
||||||
onTapped: { toolTip.hide() }
|
onTapped: { toolTip.hide() }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HoverHandler {
|
||||||
|
onHoveredChanged: if (!hovered) { toolTip.hide() }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user