mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-04-12 19:06:21 +00:00
Fix pointer speed on tvOS
This commit is contained in:
@@ -38,7 +38,13 @@
|
||||
xDeltaFactor = x;
|
||||
yDeltaFactor = y;
|
||||
|
||||
#if TARGET_OS_TV
|
||||
// The Apple TV uses indirect touch devices, so they should
|
||||
// not be scaled by the screen scaling factor.
|
||||
screenFactor = 1.0f;
|
||||
#else
|
||||
screenFactor = [[UIScreen mainScreen] scale];
|
||||
#endif
|
||||
}
|
||||
|
||||
- (void) setupStreamView {
|
||||
|
||||
Reference in New Issue
Block a user