Skip to content
This repository has been archived by the owner on Feb 25, 2025. It is now read-only.

Commit

Permalink
rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
bufffun committed Jun 4, 2024
1 parent 4e72191 commit 2923e52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shell/platform/darwin/macos/framework/Source/FlutterView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ - (void)didUpdateMouseCursor:(NSCursor*)cursor {
// and will not restore it back.
- (void)cursorUpdate:(NSEvent*)event {
// Make sure to not override cursor when over a platform view.
NSPoint mouseLoc = [[self superview] convertPoint:event.locationInWindow fromView:nil];
NSView* hitTestView = [self hitTest:mouseLoc];
NSPoint mouseLocation = [[self superview] convertPoint:event.locationInWindow fromView:nil];
NSView* hitTestView = [self hitTest:mouseLocation];
if (hitTestView != self) {
return;
}
Expand Down

0 comments on commit 2923e52

Please sign in to comment.