Align scrolling to pixels manually

This commit is contained in:
Nicolas Werner 2020-05-13 23:32:39 +02:00
parent 004d10bfee
commit d6981355d3
1 changed files with 2 additions and 0 deletions

View File

@ -71,6 +71,8 @@ MouseArea {
pixelDelta = wheel.pixelDelta.y
}
pixelDelta = Math.round(pixelDelta)
if (!pixelDelta) {
return flickableItem.contentY;
}