diff options
author | bob <bcz@cs.brown.edu> | 2019-03-08 13:03:57 -0500 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-03-08 13:03:57 -0500 |
commit | d3e66a67406447682c59045a0130d884fe1045a6 (patch) | |
tree | 67602d8d53ff280f431e8eb28d3d10e83c3f6283 /src/client/documents/Documents.ts | |
parent | c4eff83d814b1f9b94b7fc75ca06e8f0474de20d (diff) |
bug fixes and hack to make context menu appear again
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 fb1c3d867..fc210e9a2 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -100,7 +100,7 @@ export namespace Documents { if (!pdfProto) { pdfProto = setupPrototypeOptions(pdfProtoId, "PDF_PROTO", CollectionPDFView.LayoutString("AnnotationsKey"), { x: 0, y: 0, nativeWidth: 600, width: 300, layoutKeys: [KeyStore.Data, KeyStore.Annotations] }); - pdfProto.SetNumber(KeyStore.Page, 1); + pdfProto.SetNumber(KeyStore.CurPage, 1); pdfProto.SetText(KeyStore.BackgroundLayout, PDFBox.LayoutString()); } return pdfProto; |