Multiply scrollFactor to wheel.pixelDelta

This commit is contained in:
vslg 2020-05-18 12:43:06 -03:00
parent 3094e47a99
commit 1bad1e1106

View File

@ -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 *