mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Change how wheel scrolling works in qml grid views
This fixes scrolling in Qt6
This commit is contained in:
@ -722,7 +722,7 @@ SplitView {
|
||||
return;
|
||||
}
|
||||
|
||||
var newValue = Math.min((grid.contentHeight - grid.height - (showCurrentComic ? 270 : 20)), (Math.max(grid.originY , grid.contentY - event.angleDelta.y)));
|
||||
var newValue = Math.min((grid.contentHeight - grid.height + grid.originY), (Math.max(grid.originY , grid.contentY - event.angleDelta.y)));
|
||||
grid.contentY = newValue;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user