aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents
diff options
context:
space:
mode:
author_stanleyyip <33562077+yipstanley@users.noreply.github.com>2019-05-14 16:02:37 -0400
committer_stanleyyip <33562077+yipstanley@users.noreply.github.com>2019-05-14 16:02:37 -0400
commit6df3143ead642356b7823946e9710f840f3faa5a (patch)
tree2bc788232476db3844976979b86658e764656a03 /src/client/documents
parentb9d32e8e07137484c57f3d1ab89090b27d56cfe6 (diff)
argh
Diffstat (limited to 'src/client/documents')
-rw-r--r--src/client/documents/Documents.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 11929455c..654431905 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -33,6 +33,7 @@ import { DocServer } from "../DocServer";
import { StrokeData, InkField } from "../../new_fields/InkField";
import { dropActionType } from "../util/DragManager";
import { DateField } from "../../new_fields/DateField";
+import { PDFBox2 } from "../views/pdf/PDFBox2";
export interface DocumentOptions {
x?: number;
@@ -136,7 +137,7 @@ export namespace Docs {
}
function CreatePdfPrototype(): Doc {
let pdfProto = setupPrototypeOptions(pdfProtoId, "PDF_PROTO", CollectionPDFView.LayoutString("annotations"),
- { x: 0, y: 0, nativeWidth: 1200, width: 300, backgroundLayout: PDFBox.LayoutString(), curPage: 1 });
+ { x: 0, y: 0, nativeWidth: 1200, width: 300, height: 300, backgroundLayout: PDFBox.LayoutString(), curPage: 1 });
return pdfProto;
}
function CreateWebPrototype(): Doc {