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/SharingManager.tsx | |
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/SharingManager.tsx')
-rw-r--r-- | src/client/util/SharingManager.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/SharingManager.tsx b/src/client/util/SharingManager.tsx index 4cd45fc9c..6cbc76014 100644 --- a/src/client/util/SharingManager.tsx +++ b/src/client/util/SharingManager.tsx @@ -392,7 +392,7 @@ export class SharingManager extends React.Component<{}> { onClick={() => { let context: Opt<CollectionView>; if (this.targetDoc && this.targetDocView && docs.length === 1 && (context = this.targetDocView.props.ContainingCollectionView)) { - DocumentManager.Instance.jumpToDocument(this.targetDoc, { willZoom: true }, undefined, [context.props.Document]); + DocumentManager.Instance.jumpToDocument(this.targetDoc, { willPanZoom: true }, undefined, [context.props.Document]); } }} onPointerEnter={action(() => { |