aboutsummaryrefslogtreecommitdiff
path: root/src/views/nodes/PDFNode.tsx
diff options
context:
space:
mode:
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>();