E-book viewer: Fix read aloud word tracking in flow mode not very reliable

This commit is contained in:
Kovid Goyal 2021-04-23 21:45:39 +05:30
parent 1aeef04ab3
commit 2a6a773f8a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -975,7 +975,7 @@ class IframeBoss:
def mark_word_being_spoken(self, occurrence_number):
self.last_search_at = window.performance.now()
if select_tts_mark(occurrence_number):
self.ensure_selection_visible()
self.ensure_selection_boundary_visible()
def hints_msg_received(self, data):
if data.type is 'show':