Multiply scrollFactor to wheel.pixelDelta
This commit is contained in:
parent
3094e47a99
commit
1bad1e1106
|
@ -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 *
|
||||
|
|
Loading…
Reference in New Issue
Block a user