aboutsummaryrefslogtreecommitdiff
path: root/src/views/nodes/PDFNode.tsx
diff options
context:
space:
mode:
authorAndrew Kim <andrewdkim@users.noreply.github.com>2019-02-26 18:34:21 -0500
committerAndrew Kim <andrewdkim@users.noreply.github.com>2019-02-26 18:34:21 -0500
commit0fce0d7db0986f31a4f1013e42609da382c027e1 (patch)
treeff59c05ca5c831032bf06655487831af9e466a36 /src/views/nodes/PDFNode.tsx
parent3898ac2a436a1a6a39b07afb419f433e02df5e29 (diff)
finished converting from ImageBox to PDFNode
Diffstat (limited to 'src/views/nodes/PDFNode.tsx')
-rw-r--r--src/views/nodes/PDFNode.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/views/nodes/PDFNode.tsx b/src/views/nodes/PDFNode.tsx
index e626dc748..814a59500 100644
--- a/src/views/nodes/PDFNode.tsx
+++ b/src/views/nodes/PDFNode.tsx
@@ -54,7 +54,8 @@ import { Annotation } from './Annotation';
*/
@observer
export class PDFNode extends React.Component<FieldViewProps> {
-
+ public static LayoutString() { return FieldView.LayoutString("ImageBox"); }
+
private _mainDiv = React.createRef<HTMLDivElement>()
private _pdf = React.createRef<HTMLCanvasElement>();