diff options
| author | Stanley <syip0810@gmail.com> | 2019-05-19 13:56:30 -0700 |
|---|---|---|
| committer | Stanley <syip0810@gmail.com> | 2019-05-19 13:56:30 -0700 |
| commit | 2cc62cd88688ccdec8275fcaaba939d448f9baf5 (patch) | |
| tree | 1f6b9b40558d3dcb5de30a64b2d5bf08d52e819e /src/client/views/pdf | |
| parent | f043c60ff537667021a76e716b6e6465aec44525 (diff) | |
ugh
Diffstat (limited to 'src/client/views/pdf')
| -rw-r--r-- | src/client/views/pdf/PDFBox2.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/pdf/PDFBox2.tsx b/src/client/views/pdf/PDFBox2.tsx index c3f5c19d8..71825c260 100644 --- a/src/client/views/pdf/PDFBox2.tsx +++ b/src/client/views/pdf/PDFBox2.tsx @@ -8,6 +8,7 @@ import { PDFViewer } from "./PDFViewer"; import { RouteStore } from "../../../server/RouteStore"; import { InkingControl } from "../InkingControl"; import { observer } from "mobx-react"; +import { trace } from "mobx"; type PdfDocument = makeInterface<[typeof positionSchema, typeof pageSchema]>; const PdfDocument = makeInterface(positionSchema, pageSchema); @@ -17,6 +18,7 @@ export class PDFBox2 extends DocComponent<FieldViewProps, PdfDocument>(PdfDocume public static LayoutString() { return FieldView.LayoutString(PDFBox2); } render() { + trace(); const pdfUrl = "https://mozilla.github.io/pdf.js/web/compressed.tracemonkey-pldi-09.pdf"; let classname = "pdfBox-cont" + (this.props.isSelected() && !InkingControl.Instance.selectedTool); return ( |
