From f9d241406c62b6aba1a84b5947d339c1a4c28a6d Mon Sep 17 00:00:00 2001
From: bob <bcz@cs.brown.edu>
Date: Wed, 30 Jan 2019 13:36:03 -0500
Subject: fixed dragging and doc decorations for all docking locations I think.

---
 src/Main.tsx | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

(limited to 'src/Main.tsx')

diff --git a/src/Main.tsx b/src/Main.tsx
index 02b866753..73fc06941 100644
--- a/src/Main.tsx
+++ b/src/Main.tsx
@@ -56,7 +56,7 @@ document.addEventListener("pointerdown", action(function (e: PointerEvent) {
         x: 650, y: 500, width: 600, height: 600, title: "cat"
     });
     let docset2 = new Array<Document>(doc4, doc1, doc3);
-    let doc6 = Documents.DockDocument(docset2, {
+    let doc6 = Documents.CollectionDocument(docset2, {
         x: 350, y: 100, width: 600, height: 600, title: "docking collection"
     });
     let mainNodes = null;// mainContainer.GetFieldT(KeyStore.Data, ListField);
@@ -69,15 +69,14 @@ document.addEventListener("pointerdown", action(function (e: PointerEvent) {
     // mainNodes.Data.push(doc3);
     mainNodes.Data.push(doc5);
     // mainNodes.Data.push(doc1);
-    mainNodes.Data.push(doc2);
-    //mainNodes.Data.push(doc6);
+    //mainNodes.Data.push(doc2);
+    mainNodes.Data.push(doc6);
     mainContainer.SetField(KeyStore.Data, mainNodes);
 }
 //);
 
 ReactDOM.render((
     <div style={{ display: "grid" }}>
-        <h1>Dash Web</h1>
         <DocumentView Document={mainContainer} ContainingCollectionView={undefined} ContainingDocumentView={undefined} />
         <DocumentDecorations />
         <ContextMenu />
-- 
cgit v1.2.3-70-g09d2

