From 0fce0d7db0986f31a4f1013e42609da382c027e1 Mon Sep 17 00:00:00 2001 From: Andrew Kim Date: Tue, 26 Feb 2019 18:34:21 -0500 Subject: finished converting from ImageBox to PDFNode --- src/views/nodes/ImageBox.tsx | 3 +-- src/views/nodes/PDFNode.tsx | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/views') diff --git a/src/views/nodes/ImageBox.tsx b/src/views/nodes/ImageBox.tsx index f53d94a6d..c145280a1 100644 --- a/src/views/nodes/ImageBox.tsx +++ b/src/views/nodes/ImageBox.tsx @@ -54,9 +54,8 @@ import { Annotation } from './Annotation'; */ @observer export class ImageBox extends React.Component { - public static LayoutString() { return FieldView.LayoutString("ImageBox"); } - + private _mainDiv = React.createRef() private _pdf = React.createRef(); 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 { - + public static LayoutString() { return FieldView.LayoutString("ImageBox"); } + private _mainDiv = React.createRef() private _pdf = React.createRef(); -- cgit v1.2.3-70-g09d2