mirror of
https://github.com/koodo-reader/koodo-reader.git
synced 2026-06-19 05:11:09 -04:00
fix bug
Former-commit-id: db9ce0f1db669da835e72eac1c8b3265080bac6d
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -84,7 +84,7 @@ class Reader extends React.Component<ReaderProps, ReaderState> {
|
||||
this.setState({ rendition: null }, () => {
|
||||
(window as any).rangy.init(); // 初始化
|
||||
this.rendition = epub.renderTo(page, {
|
||||
manager: this.state.readerMode === "scroll" ? "continuous" : "default",
|
||||
manager: "default",
|
||||
flow: this.state.readerMode === "scroll" ? "scrolled" : "auto",
|
||||
width: "100%",
|
||||
height: "100%",
|
||||
|
||||
Reference in New Issue
Block a user