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/views/nodes/DocumentView.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/views/nodes/DocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 778965553..81a9942c3 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -95,7 +95,8 @@ export const ViewSpecPrefix = 'viewSpec'; // field prefix for anchor fields that export interface DocFocusOptions { originalTarget?: Doc; // set in JumpToDocument, used by TabDocView to determine whether to fit contents to tab - willZoom?: boolean; // determines whether to zoom in on target document + willPan?: boolean; // determines whether to pan to target document + willPanZoom?: boolean; // determines whether to zoom in on target document zoomScale?: number; // percent of containing frame to zoom into document zoomTime?: number; afterFocus?: DocAfterFocusFunc; // function to call after focusing on a document |