diff options
author | bobzel <zzzman@gmail.com> | 2024-04-29 23:00:52 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-04-29 23:00:52 -0400 |
commit | 8d68db4de347e772a5272fd0519fa30c03a30db4 (patch) | |
tree | d87386b529fa9ed1bf2c37debcdca334fe155b42 /src/client/views/nodes/FieldView.tsx | |
parent | f6a741f38a33bdb30b3a1d88215656dcd3d0712d (diff) |
updating showDocument to not have to know about groups -- all group logic is in collectionfreeformview.
Diffstat (limited to 'src/client/views/nodes/FieldView.tsx')
-rw-r--r-- | src/client/views/nodes/FieldView.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/nodes/FieldView.tsx b/src/client/views/nodes/FieldView.tsx index 52dc632ae..ab0850790 100644 --- a/src/client/views/nodes/FieldView.tsx +++ b/src/client/views/nodes/FieldView.tsx @@ -30,7 +30,8 @@ export interface FocusViewOptions { zoomTextSelections?: boolean; // whether to display a zoomed overlay of anchor text selections toggleTarget?: boolean; // whether to toggle target on and off easeFunc?: 'linear' | 'ease'; // transition method for scrolling - pointFocus?: {X:number, Y: number }; // clientX and clientY coordinates to focus on instead of a document target (used by explore mode) + pointFocus?: { X: number; Y: number }; // clientX and clientY coordinates to focus on instead of a document target (used by explore mode) + contextPath?: Doc[]; // path of inner documents that will also be focused } export type FocusFuncType = (doc: Doc, options: FocusViewOptions) => Opt<number>; // eslint-disable-next-line no-use-before-define |