Prevent "sticky" tooltips

When quickly moving the mouse in and out, the timer would
still be running, so the tooltip would become active once the mouse
moved out of the area.
This commit is contained in:
Jaime van Kessel 2019-11-11 10:47:53 +01:00
parent 00f505374b
commit d93f6f25d2
No known key found for this signature in database
GPG Key ID: 3710727397403C91

View File

@ -174,7 +174,11 @@ Item
}
onEntered: intentTooltipTimer.start()
onExited: base.hideTooltip()
onExited:
{
base.hideTooltip()
intentTooltipTimer.stop()
}
}
NoIntentIcon // This icon has hover priority over intentDescriptionHoverArea, so draw it above it.