Skip to content
Snippets Groups Projects

macosx: Fix incorrect mouse entry and exit tracking behaviour of VLCTrackingView around scrolling

Merged Claudio Cambra requested to merge claucambra/vlc:work/fix-tracking-views into master
1 file
+ 6
1
Compare changes
  • Side-by-side
  • Inline
@@ -30,7 +30,7 @@
@implementation VLCTrackingView
- (void)mouseExited:(NSEvent *)event
- (void)handleMouseExit
{
if (self.animatesTransition) {
[self.viewToHide setAlphaValue:1.0];
@@ -53,6 +53,11 @@
}
}
- (void)mouseExited:(NSEvent *)event
{
[self handleMouseExit];
}
- (void)mouseEntered:(NSEvent *)event
{
if (self.animatesTransition) {
Loading