mirror of
https://github.com/YACReader/yacreader
synced 2025-07-17 20:44:32 -04:00
Change how wheel scrolling works in qml grid views
This fixes scrolling in Qt6
This commit is contained in:
@ -428,7 +428,7 @@ Rectangle {
|
||||
return;
|
||||
}
|
||||
|
||||
var newValue = Math.min((grid.contentHeight - grid.height - (true ? main.continuReadingHeight : main.topContentMargin)), (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