This commit is contained in:
Kovid Goyal 2019-11-05 08:24:35 +05:30
parent e4f2cdf947
commit 5f9b7597d9
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -363,7 +363,7 @@ class IframeBoss:
return
self.last_window_width, self.last_window_height = scroll_viewport.width(), scroll_viewport.height()
if current_layout_mode() is not 'flow':
self.do_layout()
self.do_layout(self.is_titlepage)
if self.last_cfi:
cfi = self.last_cfi[len('epubcfi(/'):-1].partition('/')[2]
if cfi: