fix epub reader playback and trial navigation

This commit is contained in:
shen
2026-07-11 08:16:56 +08:00
parent d7fcda345d
commit 063a493b18
231 changed files with 435 additions and 36060 deletions
@@ -48,12 +48,7 @@ extension RDEPUBReaderController {
forPageNumber: pageIndex + 1,
spineIndex: page.spineIndex
)
var preferences = currentPreferences()
if publication.layout == .fixed, readerView.pagesPerScreen == 2 {
// 5pt 10pt
preferences.fixedContentInset.left += 5
preferences.fixedContentInset.right += 5
}
let preferences = readerContext.currentPreferences(pageIndex: pageIndex)
return preferences.renderRequest(
for: page,
publication: publication,