Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only reset tooltip timer when mouse actually moved
InputEventMouseMotion isn't guaranteed to fire only on actual mouse movement. It's not uncommon for the underlying OS motion event to be sent either by the OS itself or another application even though the mouse hasn't moved. Godot will generate such zero-motion InputEventMouseMotion events itself for things like cursor shape changes. Once started, the tooltip timer is reset only after a mouse movement of at least 5 pixels in one frame.
- Loading branch information