macosx: Fix incorrect mouse entry and exit tracking behaviour of VLCTrackingView around scrolling
mouseEntered
and mouseExited
events only seem to be sent when the mouse cursor is moved, causing issues when the VLCTrackingView
is inside a scrollview and the view itself moves. This means the cursor does not move but is not hovering the item anymore, with the view unaware of this.
Fix by checking the mouse position after the tracking areas are updated inside VLCTrackingView
After fix:
Screen_Recording_2023-05-06_at_16.47.14
Before fix:
Screen_Recording_2023-05-06_at_16.48.22
Signed-off-by: Claudio Cambra developer@claudiocambra.com
Edited by Claudio Cambra