mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
E-book viewer: Fix navigation shortcuts not working in Read aloud mode
This commit is contained in:
parent
59da705c96
commit
1aeef04ab3
@ -969,6 +969,8 @@ class IframeBoss:
|
||||
sel = window.getSelection()
|
||||
sel.removeAllRanges()
|
||||
self.send_message('tts', type='text-extracted', marked_text=marked_text, pos=data.pos)
|
||||
elif data.type is 'trigger-shortcut':
|
||||
self.on_handle_navigation_shortcut(data)
|
||||
|
||||
def mark_word_being_spoken(self, occurrence_number):
|
||||
self.last_search_at = window.performance.now()
|
||||
|
Loading…
x
Reference in New Issue
Block a user