diff options
author | bobzel <zzzman@gmail.com> | 2022-06-09 10:39:14 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-06-09 10:39:14 -0400 |
commit | ec2e780141fb41d3f70aa86b0312211e0b30257c (patch) | |
tree | 252ca5ecf456d4f333d5cb6844a16b2f987f6d58 /src/client/views/nodes/DocumentView.tsx | |
parent | 8d78df55532b0044edd61ed379f6c469554805f2 (diff) |
fixed issues with pinWithView so that thumnails show the pinned area and navigating to the view shows the entire pinned area regardless of panel size.
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 59a402e01..26dec3bd5 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -112,6 +112,7 @@ export interface DocumentViewSharedProps { renderDepth: number; Document: Doc; DataDoc?: Doc; + contentBounds?: () => (undefined|{x:number, y:number, r:number, b:number}); fitContentsToDoc?: () => boolean; // used by freeformview to fit its contents to its panel. corresponds to _fitToBox property on a Document ContainingCollectionView: Opt<CollectionView>; ContainingCollectionDoc: Opt<Doc>; |