E-book viewer: Fix using keyboard to extend selection not turning pages

This commit is contained in:
Kovid Goyal 2021-03-09 14:20:44 +05:30
parent 4e839cbaf2
commit 0e9c3ea215
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -186,6 +186,7 @@ class IframeBoss:
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)