aboutsummaryrefslogtreecommitdiff
path: root/src/Main.tsx
diff options
context:
space:
mode:
authorMonika Hedman <monikahedman@monikas-mbp.devices.brown.edu>2019-02-12 16:20:01 -0500
committerMonika Hedman <monikahedman@monikas-mbp.devices.brown.edu>2019-02-12 16:20:01 -0500
commit6445930e05e8eb81a36930615926712986bc1a9d (patch)
tree173f7d3a5c4487f960895f0a13206219b69ef574 /src/Main.tsx
parent5b55e1b6081393989ca35d2964da9604c2a93802 (diff)
Started node centering
Diffstat (limited to 'src/Main.tsx')
-rw-r--r--src/Main.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Main.tsx b/src/Main.tsx
index 6730cf799..7a11e6873 100644
--- a/src/Main.tsx
+++ b/src/Main.tsx
@@ -13,6 +13,7 @@ import "./Main.scss";
import { ContextMenu } from './views/ContextMenu';
import { DocumentView } from './views/nodes/DocumentView';
import { CompileScript } from './util/Scripting';
+import { TempTreeView } from './TempTreeView';
configure({
@@ -20,6 +21,7 @@ configure({
});
const mainNodeCollection = new Array<Document>();
+let mainNodes = null;// mainContainer.GetFieldT(KeyStore.Data, ListField);
let mainContainer = Documents.DockDocument(mainNodeCollection, {
x: 0, y: 0, title: "main container"
})
@@ -86,5 +88,6 @@ ReactDOM.render((
<DocumentView Document={mainContainer} ContainingCollectionView={undefined} DocumentView={undefined} />
<DocumentDecorations />
<ContextMenu />
+ <TempTreeView mainCollection={mainNodes} />
</div>),
document.getElementById('root')); \ No newline at end of file