diff options
| author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-07-12 11:21:20 -0400 |
|---|---|---|
| committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-07-12 11:21:20 -0400 |
| commit | bde549beec0b9644ff0e39585989b1a6795750eb (patch) | |
| tree | f979165fe3029c3228e75fc91d59c15181f0ef48 /src/client/views/pdf/Page.tsx | |
| parent | a7fa75a9b8e5811f81d6cdf92d680ab2cfb38fed (diff) | |
| parent | 490f6843d3523260e6dce81de24676908c4d4b60 (diff) | |
Merge branch 'master' of github-tsch-brown:browngraphicslab/Dash-Web
Diffstat (limited to 'src/client/views/pdf/Page.tsx')
| -rw-r--r-- | src/client/views/pdf/Page.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/pdf/Page.tsx b/src/client/views/pdf/Page.tsx index 7c843fc0b..5ff39c867 100644 --- a/src/client/views/pdf/Page.tsx +++ b/src/client/views/pdf/Page.tsx @@ -157,7 +157,7 @@ export default class Page extends React.Component<IPageProps> { e.stopPropagation(); let thisDoc = this.props.parent.Document; // document that this annotation is linked to - let targetDoc = Docs.TextDocument({ width: 200, height: 200, title: "New Annotation" }); + let targetDoc = Docs.Create.TextDocument({ width: 200, height: 200, title: "New Annotation" }); targetDoc.targetPage = this.props.page; let annotationDoc = this.highlight(targetDoc, "red"); // create dragData and star tdrag |
