Align scrolling to pixels manually
This commit is contained in:
parent
004d10bfee
commit
d6981355d3
@ -71,6 +71,8 @@ MouseArea {
|
|||||||
pixelDelta = wheel.pixelDelta.y
|
pixelDelta = wheel.pixelDelta.y
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pixelDelta = Math.round(pixelDelta)
|
||||||
|
|
||||||
if (!pixelDelta) {
|
if (!pixelDelta) {
|
||||||
return flickableItem.contentY;
|
return flickableItem.contentY;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user