mirror of
https://github.com/encounter/SDL.git
synced 2025-12-09 21:47:44 +00:00
Make sure we're using the bounds of the view for our mouse region
This commit is contained in:
@@ -153,7 +153,7 @@ extern int SDL_AppleTVRemoteOpenedAsJoystick;
|
|||||||
|
|
||||||
SDL_SendMouseMotion(sdlwindow, 0, 0, (int)point.x, (int)point.y);
|
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 */
|
#endif /* !TARGET_OS_TV && __IPHONE_13_4 */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user