aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanley Yip <33562077+yipstanley@users.noreply.github.com>2019-07-30 19:33:49 -0400
committerGitHub <noreply@github.com>2019-07-30 19:33:49 -0400
commit5a4c52a3f41fcafab4b44d7e4a9b221b6e29a2bd (patch)
tree3e287be4b8eab23ecb25f7c1f98073289aeea2fa
parentf19f98bb5de01fe11015877f4e803322d89b2ae1 (diff)
parent0fd8973433b0fc7f0cdb6604ed3b3486288a31f3 (diff)
Merge pull request #239 from browngraphicslab/presentationZoomFix
changed willZoom to true so presentation zooms
-rw-r--r--src/client/views/presentationview/PresentationView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/presentationview/PresentationView.tsx b/src/client/views/presentationview/PresentationView.tsx
index c0251f20b..bea70f00b 100644
--- a/src/client/views/presentationview/PresentationView.tsx
+++ b/src/client/views/presentationview/PresentationView.tsx
@@ -375,7 +375,7 @@ export class PresentationView extends React.Component<PresViewProps> {
//awaiting jump so that new scale can be found, since jumping is async
await DocumentManager.Instance.jumpToDocument(curDoc, true);
} else {
- await DocumentManager.Instance.jumpToDocument(curDoc, false, undefined, doc => CollectionDockingView.Instance.AddTab(undefined, doc, undefined));
+ await DocumentManager.Instance.jumpToDocument(curDoc, true, undefined, doc => CollectionDockingView.Instance.AddTab(undefined, doc, undefined));
}
let newScale = DocumentManager.Instance.getScaleOfDocView(curDoc);