mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Align scrolling to pixels manually
This commit is contained in:
parent
004d10bfee
commit
d6981355d3
1 changed files with 2 additions and 0 deletions
|
@ -71,6 +71,8 @@ MouseArea {
|
|||
pixelDelta = wheel.pixelDelta.y
|
||||
}
|
||||
|
||||
pixelDelta = Math.round(pixelDelta)
|
||||
|
||||
if (!pixelDelta) {
|
||||
return flickableItem.contentY;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue