Overlap: fix detecting reflow mode (#10576)

This commit is contained in:
hius07
2023-06-14 07:36:37 +03:00
committed by GitHub
parent 1d4e256c82
commit eef99dafd6
2 changed files with 1 additions and 2 deletions

View File

@@ -1147,7 +1147,7 @@ function ReaderView:isOverlapAllowed()
if self.ui.paging then
return not self.page_scroll
and (self.ui.paging.zoom_mode ~= "page"
or (self.ui.paging.zoom_mode == "page" and self.ui.paging.is_reflowed))
or (self.ui.paging.zoom_mode == "page" and self.document.configurable.text_wrap == 1))
and not self.ui.paging.zoom_mode:find("height")
else
return self.view_mode ~= "page"