Fix scroll speed on recent GFE versions

This commit is contained in:
Cameron Gutman
2021-12-12 16:33:19 -06:00
parent 90d416ab34
commit eccf517dc3
4 changed files with 4 additions and 4 deletions

View File

@@ -106,7 +106,7 @@ static const int REFERENCE_HEIGHT = 720;
CGPoint avgLocation = CGPointMake((firstLocation.x + secondLocation.x) / 2, (firstLocation.y + secondLocation.y) / 2);
if (touchLocation.y != avgLocation.y) {
LiSendHighResScrollEvent(avgLocation.y - touchLocation.y);
LiSendHighResScrollEvent((avgLocation.y - touchLocation.y) * 10);
}
// If we've moved far enough to confirm this wasn't just human/machine error,