diff options
author | bob <bcz@cs.brown.edu> | 2019-01-29 12:55:59 -0500 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-01-29 12:55:59 -0500 |
commit | 7bc8bf62d9c9ff8e388103d0faa75855d43b8e16 (patch) | |
tree | 1a280ce8058f93db593a7b96d0af1e9810d985b1 /src/Main.tsx | |
parent | ed982a553d1831353e312ae8137afa95ef84ebe5 (diff) |
fixed zooming
Diffstat (limited to 'src/Main.tsx')
-rw-r--r-- | src/Main.tsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Main.tsx b/src/Main.tsx index 1b5d95132..566216373 100644 --- a/src/Main.tsx +++ b/src/Main.tsx @@ -61,7 +61,8 @@ runInAction(() => { let doc5 = Documents.ImageDocument("https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Cat03.jpg/1200px-Cat03.jpg", { x: 650, y: 500, width: 600, height: 600 }); - let doc6 = Documents.DockDocument(docset, { + let docset2 = new Array<Document>(doc1, doc4, doc3); + let doc6 = Documents.DockDocument(docset2, { x: 350, y: 100 }); let mainNodes = mainContainer.GetFieldT(KeyStore.Data, ListField); @@ -74,7 +75,7 @@ runInAction(() => { mainNodes.Data.push(doc4); // mainNodes.Data.push(doc3); mainNodes.Data.push(doc5); - mainNodes.Data.push(doc1); - mainNodes.Data.push(doc2); + // mainNodes.Data.push(doc1); + // mainNodes.Data.push(doc2); mainNodes.Data.push(doc6); });
\ No newline at end of file |