mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-20 13:06:05 +00:00
Make sure we're using the bounds of the view for our mouse region
This commit is contained in:
parent
cab1ee9cbc
commit
6f3fa02e27
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ extern int SDL_AppleTVRemoteOpenedAsJoystick;
|
|||
|
||||
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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue