Skip to content
Permalink
Browse files

Make sure we're using the bounds of the view for our mouse region

  • Loading branch information
slouken committed Apr 14, 2020
1 parent cab1ee9 commit 6f3fa02e27fe9c1892fd269b353f70a65b193e69
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/uikit/SDL_uikitview.m
@@ -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 */

0 comments on commit 6f3fa02

Please sign in to comment.