aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/PDFViewer.tsx
diff options
context:
space:
mode:
authoryipstanley <stanley_yip@brown.edu>2019-07-14 19:30:25 -0400
committeryipstanley <stanley_yip@brown.edu>2019-07-14 19:30:25 -0400
commitd2d19d6e87111eb011b61ba352d0b39eb8ba2250 (patch)
tree459e3c991232e9d0c291bfc96e06127b344d3c9d /src/client/views/pdf/PDFViewer.tsx
parent81d23dbd7b918fd1812b770960687bc8a12a0a34 (diff)
fixed pdf annotation layer being off position and fixed linking to a region on a pdf
Diffstat (limited to 'src/client/views/pdf/PDFViewer.tsx')
-rw-r--r--src/client/views/pdf/PDFViewer.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/pdf/PDFViewer.tsx b/src/client/views/pdf/PDFViewer.tsx
index 8f5a356c8..e3a716b4b 100644
--- a/src/client/views/pdf/PDFViewer.tsx
+++ b/src/client/views/pdf/PDFViewer.tsx
@@ -236,6 +236,7 @@ export class Viewer extends React.Component<IViewerProps> {
}
}
+ @action
makeAnnotationDocument = (sourceDoc: Doc | undefined, s: number, color: string): Doc => {
let annoDocs: Doc[] = [];
let mainAnnoDoc = Docs.Create.InstanceFromProto(new Doc(), "", {});