mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-23 14:19:37 +08:00
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:
parent
00f505374b
commit
d93f6f25d2
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user