Fix scroll speed on recent GFE versions
This commit is contained in:
parent
90d416ab34
commit
eccf517dc3
4 changed files with 4 additions and 4 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue