From d669634a8bffab2248cf1732babe3a516bc55e4c Mon Sep 17 00:00:00 2001
From: Monika Hedman <monika_hedman@brown.edu>
Date: Wed, 13 Feb 2019 21:21:03 -0500
Subject: translate - need docview of collection?

---
 src/client/views/nodes/DocumentView.tsx | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'src/client/views/nodes/DocumentView.tsx')

diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index f653919cf..8dc54f22a 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -182,8 +182,9 @@ export class DocumentView extends React.Component<DocumentViewProps> {
 
     @action
     Center = (e: React.MouseEvent): void => {
-        //DocumentManager.Instance.centerNode()
-        console.log("centering...")
+        DocumentManager.Instance.centerNode(this.props.Document)
+        DocumentManager.Instance.centerNode(this)
+        //console.log(this.props.ContainingCollectionView.props.)
     }
 
     @action
-- 
cgit v1.2.3-70-g09d2

