diff options
| author | bobzel <zzzman@gmail.com> | 2023-09-05 11:11:11 -0400 | 
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-09-05 11:11:11 -0400 | 
| commit | b5605e12c760af341516f5bc0b0fe4afb14a14ca (patch) | |
| tree | 3d8347acf834072cffd92a63196bd20cd3f56807 /src/client/views/nodes/DocumentView.tsx | |
| parent | a63ab5802551887f62265d420b7c5e925b5cd7d6 (diff) | |
change getAnchor to honor addAsAnnotation so that pinning docs doesn't add to annotation list.  fixed dragging anchor menu icons so that they appear.
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
| -rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index f7773ff18..ab99f3c6d 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -121,6 +121,7 @@ export interface DocComponentView {      reverseNativeScaling?: () => boolean; // DocumentView's setup screenToLocal based on the doc having a nativeWidth/Height.  However, some content views (e.g., FreeFormView w/ fitContentsToBox set) may ignore the native dimensions so this flags the DocumentView to not do Nativre scaling.      shrinkWrap?: () => void; // requests a document to display all of its contents with no white space.  currently only implemented (needed?) for freeform views      select?: (ctrlKey: boolean, shiftKey: boolean) => void; +    focus?: (textAnchor: Doc, options: DocFocusOptions) => Opt<number>;      menuControls?: () => JSX.Element; // controls to display in the top menu bar when the document is selected.      isAnyChildContentActive?: () => boolean; // is any child content of the document active      onClickScriptDisable?: () => 'never' | 'always'; // disable click scripts : never, always, or undefined = only when selected | 
