feat: improve epub reader controls and annotations
This commit is contained in:
@@ -36,6 +36,13 @@ public final class RDEPUBPublication {
|
||||
parser.readingProfile()
|
||||
}
|
||||
|
||||
/// Scripted fixed-layout publications own a complete interactive scene per
|
||||
/// spine item. Combining scenes in landscape can start multiple timelines
|
||||
/// and media tracks, so these publications remain single-page.
|
||||
public lazy var requiresSinglePagePresentation: Bool = {
|
||||
layout == .fixed && parser.hasInteractiveContent()
|
||||
}()
|
||||
|
||||
public var readingProgression: RDEPUBReadingProgression {
|
||||
metadata.readingProgression
|
||||
}
|
||||
@@ -68,4 +75,4 @@ public final class RDEPUBPublication {
|
||||
spreadEnabled: fixedLayoutSpreadEnabled(for: preferences, viewportSize: viewportSize)
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user