[vlc-commits] [Git][videolan/vlc][master] macosx: fix grid hover button flicker when scrolling
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Fri Oct 16 06:51:01 UTC 2026
Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
4953f0be by Serhii Bykov at 2026-10-16T08:39:13+02:00
macosx: fix grid hover button flicker when scrolling
- - - - -
1 changed file:
- modules/gui/macosx/views/VLCTrackingView.m
Changes:
=====================================
modules/gui/macosx/views/VLCTrackingView.m
=====================================
@@ -177,8 +177,8 @@
// This prevents situations where the mouseEntered/mouseExited is not called because the view
// itself has moved but the cursor has not (e.g. when this view is inside a scrollview and the
// user scrolls)
- const NSPoint mouseLocation = [self convertPoint:self.window.mouseLocationOutsideOfEventStream fromView:self.window.contentView];
- const BOOL mouseInsideView = [self mouse:mouseLocation inRect:self.frame];
+ const NSPoint mouseLocation = [self convertPoint:self.window.mouseLocationOutsideOfEventStream fromView:nil];
+ const BOOL mouseInsideView = [self mouse:mouseLocation inRect:self.bounds];
if (mouseInsideView && !_mouseIn) {
[self handleMouseEnter];
} else if (!mouseInsideView && _mouseIn) {
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/4953f0be3ea61dd5fc62f2c333e540d2b166ccbc
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/4953f0be3ea61dd5fc62f2c333e540d2b166ccbc
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list