aboutsummaryrefslogtreecommitdiff
path: root/src/views/nodes/DocumentView.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-01-31 18:01:48 -0500
committerbob <bcz@cs.brown.edu>2019-01-31 18:01:48 -0500
commit772af9c62ff6e96747c94190cae5f0b2a94d3485 (patch)
tree5df04803e2de14db34bfae6cd511f96c417ea96f /src/views/nodes/DocumentView.tsx
parent73bff98b9476df0ecc91af548d80b30f56967a8d (diff)
clean up
Diffstat (limited to 'src/views/nodes/DocumentView.tsx')
-rw-r--r--src/views/nodes/DocumentView.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/views/nodes/DocumentView.tsx b/src/views/nodes/DocumentView.tsx
index 5e72db492..a3d7d550e 100644
--- a/src/views/nodes/DocumentView.tsx
+++ b/src/views/nodes/DocumentView.tsx
@@ -96,6 +96,10 @@ export class DocumentView extends React.Component<DocumentViewProps> {
return new DOMRect();
}
+ get MainContent() {
+ return this._mainCont;
+ }
+
@computed
get x(): number {
return this.props.Document.GetFieldValue(KeyStore.X, NumberField, Number(0));