Fix scroll speed on recent GFE versions

This commit is contained in:
Cameron Gutman committed 2021-12-12 16:33:19 -06:00
1 parent 90d416ab34
commit eccf517dc3
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -444,7 +444,7 @@ static const double MOUSE_SPEED_DIVISOR = 2.5;
short truncatedScrollY = (short)self->accumulatedScrollY;
if (truncatedScrollY != 0) {
LiSendHighResScrollEvent(truncatedScrollY);
LiSendHighResScrollEvent(truncatedScrollY * 20);
self->accumulatedScrollY -= truncatedScrollY;
}