Merge pull request #665 from stonerl/chapter-pictures

allow user to disable thumbnails and jump to current chapter in horizontal view
This commit is contained in:
Arkadiusz Fal
2024-05-16 18:22:19 +02:00
committed by GitHub
5 changed files with 136 additions and 76 deletions

View File

@@ -77,6 +77,8 @@ extension Defaults.Keys {
static let collapsedLinesDescription = Key<Int>("collapsedLinesDescription", default: 5)
static let showChapters = Key<Bool>("showChapters", default: true)
static let showChapterThumbnails = Key<Bool>("showChapterThumbnails", default: true)
static let showChapterThumbnailsOnlyWhenDifferent = Key<Bool>("showChapterThumbnailsOnlyWhenDifferent", default: true)
static let expandChapters = Key<Bool>("expandChapters", default: true)
static let showRelated = Key<Bool>("showRelated", default: true)
static let showInspector = Key<ShowInspectorSetting>("showInspector", default: .onlyLocal)