mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
E-book viewer: Fix scrolling down with mouse wheel not always reaching bottom in windows
This commit is contained in:
parent
e9af0cdf8f
commit
7c0394f3fe
@ -815,6 +815,7 @@ class DocumentView(QWebView):
|
||||
def wheelEvent(self, event):
|
||||
if event.delta() < -14:
|
||||
if self.document.at_bottom:
|
||||
self.scroll_by(y=15) # at_bottom can lie on windows
|
||||
if self.manager is not None:
|
||||
self.manager.next_document()
|
||||
event.accept()
|
||||
|
Loading…
x
Reference in New Issue
Block a user