diff options
author | bobzel <zzzman@gmail.com> | 2019-02-12 21:08:04 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2019-02-12 21:08:04 -0500 |
commit | e09ddf280d0e2bdef28477a6d7be06c57051dab6 (patch) | |
tree | 34843e07ff2fbcae30c9a534b3beb4e89590dca4 /src/client/views/Main.tsx | |
parent | 7a93f60c9529e5d175e617fc7c07145a9b33e572 (diff) |
fixed up nested selections and scaling
Diffstat (limited to 'src/client/views/Main.tsx')
-rw-r--r-- | src/client/views/Main.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/Main.tsx b/src/client/views/Main.tsx index ba92cc17e..e78949ba7 100644 --- a/src/client/views/Main.tsx +++ b/src/client/views/Main.tsx @@ -62,7 +62,7 @@ document.addEventListener("pointerdown", action(function (e: PointerEvent) { // 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, title: "cat 2" // }); - let docset2 = [doc3, doc1, doc2]; + let docset2 = [doc3, doc4, doc2]; let doc6 = Documents.CollectionDocument(docset2, { x: 350, y: 100, width: 600, height: 600, title: "docking collection" }); @@ -87,7 +87,7 @@ ReactDOM.render(( <div style={{ position: "absolute", width: "100%", height: "100%" }}> <DocumentView Document={mainContainer} AddDocument={undefined} RemoveDocument={undefined} GetTransform={() => Transform.Identity} - Scaling={1} + ParentScaling={1} ContainingCollectionView={undefined} DocumentView={undefined} /> <DocumentDecorations /> <ContextMenu /> |