mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 00:13:50 +02:00
E-book viewer: Fix using keyboard to extend selection not turning pages
This commit is contained in:
parent
4e839cbaf2
commit
0e9c3ea215
1 changed files with 1 additions and 0 deletions
|
|
@ -186,6 +186,7 @@ def on_overlay_visibility_changed(self, data):
|
|||
def modify_selection(self, data):
|
||||
sel = window.getSelection()
|
||||
sel.modify('extend', data.direction, data.granularity)
|
||||
self.ensure_selection_visible()
|
||||
|
||||
def initialize(self, data):
|
||||
scroll_viewport.update_window_size(data.width, data.height)
|
||||
|
|
|
|||
Loading…
Reference in a new issue