Improve behavior of 2 finger scrolling in trackpad mode
This commit is contained in:
parent
a1f09f117f
commit
a358cdad3d
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,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) {
|
||||
LiSendScrollEvent(avgLocation.y - touchLocation.y);
|
||||
LiSendHighResScrollEvent(avgLocation.y - touchLocation.y);
|
||||
}
|
||||
|
||||
// If we've moved far enough to confirm this wasn't just human/machine error,
|
||||
|
|
|
|||
Loading…
Reference in a new issue