diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-01-30 23:55:58 -0500 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-01-30 23:55:58 -0500 |
commit | e2acceaaf0a0235513951dca1c33e63183d61661 (patch) | |
tree | 8268e795c2dc13b9a273861bd8a7039aea6471d2 /src/client/util/DocumentManager.ts | |
parent | 1cb72c720d2e287032bfe586f25ebd941ab3f393 (diff) |
fixed zoomin in presentation mode
Diffstat (limited to 'src/client/util/DocumentManager.ts')
-rw-r--r-- | src/client/util/DocumentManager.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/DocumentManager.ts b/src/client/util/DocumentManager.ts index fb4c2155a..f024b9116 100644 --- a/src/client/util/DocumentManager.ts +++ b/src/client/util/DocumentManager.ts @@ -140,7 +140,7 @@ export class DocumentManager { if (first) annotatedDoc = first.props.Document; } if (docView) { // we have a docView already and aren't forced to create a new one ... just focus on the document. TODO move into view if necessary otherwise just highlight? - docView.props.focus(docView.props.Document, false); + docView.props.focus(docView.props.Document, willZoom); highlight(); } else { const contextDocs = docContext ? await DocListCastAsync(docContext.data) : undefined; |