diff options
author | Monika Hedman <monika_hedman@brown.edu> | 2019-02-13 21:21:03 -0500 |
---|---|---|
committer | Monika Hedman <monika_hedman@brown.edu> | 2019-02-13 21:21:03 -0500 |
commit | d669634a8bffab2248cf1732babe3a516bc55e4c (patch) | |
tree | 5fff023438bd819117a9b45ae53acf4c02149d4c /src/client/views/nodes/DocumentView.tsx | |
parent | 1c5543e22d8b6ba9db1f10664a1c19e729da1e15 (diff) |
translate - need docview of collection?
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
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 |