diff options
author | bobzel <zzzman@gmail.com> | 2022-12-07 14:46:03 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-12-07 14:46:03 -0500 |
commit | 6ffb3b6879fbe8e12b79eb00a316b08bf1993149 (patch) | |
tree | b89216bdc85dd658a094d3637f7783b942eac654 /src/client/util/DocumentManager.ts | |
parent | 5d0094fb5305ed01cebd33cbee246433cd58b877 (diff) |
fixed presMovement.none so that no pan or zoom takes place. fixed clicking on a presitem to stop audio playing other items.
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 d2368f4f6..5b5848bf6 100644 --- a/src/client/util/DocumentManager.ts +++ b/src/client/util/DocumentManager.ts @@ -324,7 +324,7 @@ export function DocFocusOrOpen(doc: Doc, collectionDoc?: Doc) { const cv = collectionDoc && DocumentManager.Instance.getDocumentView(collectionDoc); const dv = DocumentManager.Instance.getDocumentView(doc, (cv?.ComponentView as CollectionFreeFormView)?.props.CollectionView); if (dv && Doc.AreProtosEqual(dv.props.Document, doc)) { - dv.props.focus(dv.props.Document, { willZoom: true }); + dv.props.focus(dv.props.Document, { willPanZoom: true }); Doc.linkFollowHighlight(dv?.props.Document, false); } else { const context = doc.context !== Doc.MyFilesystem && Cast(doc.context, Doc, null); |