diff options
author | Sam Wilkins <samwilkins333@gmail.com> | 2020-01-31 11:05:03 -0500 |
---|---|---|
committer | Sam Wilkins <samwilkins333@gmail.com> | 2020-01-31 11:05:03 -0500 |
commit | 5ad15ac012262ac15e152b995cbcb042c5b7cf89 (patch) | |
tree | fcd3404add281aff240aeb4c9546d0ba16b7d8ec /src/client/util/DocumentManager.ts | |
parent | 96de4bf18d5721d2b7957d7adb8ad3393462c4d1 (diff) | |
parent | b0544ea44ef78a93deb9290815f95d6d9308447d (diff) |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
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; |