diff options
author | bob <bcz@cs.brown.edu> | 2019-03-06 17:59:15 -0500 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-03-06 17:59:15 -0500 |
commit | f2d02089b6b749929b7fc3d522ac176b7f6027fd (patch) | |
tree | c0e70d394e0069f43c1824c249d7a53a324f03a5 /src/client/documents/Documents.ts | |
parent | d724a248442184415d4591fedebe1060b3e12278 (diff) |
fixed render size of pdfs & changed note backrounds contextually.
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r-- | src/client/documents/Documents.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index d2183c90f..47b8ea844 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -99,7 +99,7 @@ export namespace Documents { function GetPdfPrototype(): Document { if (!pdfProto) { pdfProto = setupPrototypeOptions(pdfProtoId, "PDF_PROTO", CollectionView.LayoutString("AnnotationsKey"), - { x: 0, y: 0, nativeWidth: 300, nativeHeight: 300, width: 300, layoutKeys: [KeyStore.Data, KeyStore.Annotations] }); + { x: 0, y: 0, nativeWidth: 600, width: 300, layoutKeys: [KeyStore.Data, KeyStore.Annotations] }); pdfProto.SetText(KeyStore.BackgroundLayout, PDFNode.LayoutString()); } return pdfProto; |