Add parallel translation stack book
This commit is contained in:
+3
-1
@@ -88,11 +88,12 @@ export type StudySettings = {
|
||||
marginColumnPercent: number
|
||||
studyStackPinned: boolean
|
||||
activeStudyBook: StudyBook
|
||||
parallelTranslationId: string | null
|
||||
marginPanelOrder: MarginPanelId[]
|
||||
themeMode: ThemeMode
|
||||
}
|
||||
|
||||
export type StudyBook = 'notebook' | 'dictionary' | 'lexicon' | 'atlas' | 'commentary' | 'audio' | 'search'
|
||||
export type StudyBook = 'notebook' | 'dictionary' | 'lexicon' | 'atlas' | 'commentary' | 'audio' | 'parallel' | 'search'
|
||||
export type MarginPanelId = 'margin-note' | 'original' | 'linked' | 'definition' | 'study-notes'
|
||||
|
||||
export const defaultMarginPanelOrder: MarginPanelId[] = [
|
||||
@@ -161,6 +162,7 @@ export function defaultStudySettings(): StudySettings {
|
||||
marginColumnPercent: 20,
|
||||
studyStackPinned: true,
|
||||
activeStudyBook: 'notebook',
|
||||
parallelTranslationId: null,
|
||||
marginPanelOrder: defaultMarginPanelOrder,
|
||||
themeMode: 'light',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user