feat: add render mode #667

This commit is contained in:
Hufe921
2024-07-04 21:52:46 +08:00
parent 0e705d6a0b
commit affd191155
8 changed files with 28 additions and 7 deletions
+2
View File
@@ -39,6 +39,7 @@ import {
EditorMode,
PageMode,
PaperDirection,
RenderMode,
WordBreak
} from '../dataset/enum/Editor'
@@ -144,6 +145,7 @@ export function mergeOption(
marginIndicatorColor: '#BABABA',
margins: [100, 120, 100, 120],
pageMode: PageMode.PAGING,
renderMode: RenderMode.SPEED,
defaultHyperlinkColor: '#0000FF',
paperDirection: PaperDirection.VERTICAL,
inactiveAlpha: 0.6,