Skip to content

Commit

Permalink
Make sure we're using the bounds of the view for our mouse region
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Apr 14, 2020
1 parent cab1ee9 commit 6f3fa02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/uikit/SDL_uikitview.m
Expand Up @@ -153,7 +153,7 @@ - (UIPointerRegion *)pointerInteraction:(UIPointerInteraction *)interaction regi

SDL_SendMouseMotion(sdlwindow, 0, 0, (int)point.x, (int)point.y);
}
return defaultRegion;
return [UIPointerRegion regionWithRect:self.bounds identifier:nil];
}
#endif /* !TARGET_OS_TV && __IPHONE_13_4 */

Expand Down

0 comments on commit 6f3fa02

Please sign in to comment.