From 1bad1e1106e604633c9effcd9b5f288e10715b11 Mon Sep 17 00:00:00 2001 From: vslg Date: Mon, 18 May 2020 12:43:06 -0300 Subject: [PATCH] Multiply scrollFactor to wheel.pixelDelta --- src/gui/Base/HTrackpadFix.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/Base/HTrackpadFix.qml b/src/gui/Base/HTrackpadFix.qml index 308a4cef..507e7155 100644 --- a/src/gui/Base/HTrackpadFix.qml +++ b/src/gui/Base/HTrackpadFix.qml @@ -33,7 +33,7 @@ MouseArea { // low resolution trackpads. // When higher pixelDelta, more scroll will be applied const pixelDelta = - wheel.pixelDelta.y || + wheel.pixelDelta.y * scrollFactor || wheel.angleDelta.y / 24 * Qt.styleHints.wheelScrollLines *