mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
0a50eab218
commit
86455fc5f3
@ -928,6 +928,13 @@ class DocumentView(QWebView): # {{{
|
||||
self.document.scroll_to(x=loc, y=0)
|
||||
if self.manager is not None:
|
||||
self.manager.scrolled(self.scroll_fraction)
|
||||
event.accept()
|
||||
elif self.manager is not None:
|
||||
if direction == 'next':
|
||||
self.manager.next_document()
|
||||
else:
|
||||
self.manager.previous_document()
|
||||
event.accept()
|
||||
return
|
||||
|
||||
if event.delta() < -14:
|
||||
|
Loading…
x
Reference in New Issue
Block a user