diff options
author | bob <bcz@cs.brown.edu> | 2019-07-11 11:00:09 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-07-11 11:00:09 -0400 |
commit | a9ecaef0c7d870136401dfbb687afdb9dd2843f4 (patch) | |
tree | e92499439a8c2c3f19defb2fca723b208ce47ca3 /src/client/views/nodes/DocumentView.tsx | |
parent | 35f581ce1beef665265688551f50ca4cd51fd62a (diff) |
fixed fitToBox stuff.
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 613cbf98e..184f5dca2 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -73,7 +73,7 @@ export interface DocumentViewProps { ContainingCollectionView: Opt<CollectionView | CollectionPDFView | CollectionVideoView>; Document: Doc; DataDoc?: Doc; - fitToBox?: () => number[]; + fitToBox?: boolean; addDocument?: (doc: Doc, allowDuplicates?: boolean) => boolean; removeDocument?: (doc: Doc) => boolean; moveDocument?: (doc: Doc, targetCollection: Doc, addDocument: (document: Doc) => boolean) => boolean; |