diff options
author | bob <bcz@cs.brown.edu> | 2019-01-30 17:36:30 -0500 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-01-30 17:36:30 -0500 |
commit | 0493f7f18a3eb49d0443f1742d53bb214bf9dd70 (patch) | |
tree | e13aa17f0b93a7e75ce02ea35fbe960a576f2d7d /src/Main.tsx | |
parent | f9d241406c62b6aba1a84b5947d339c1a4c28a6d (diff) |
drag drop fixes for docking
Diffstat (limited to 'src/Main.tsx')
-rw-r--r-- | src/Main.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Main.tsx b/src/Main.tsx index 73fc06941..2770ccff2 100644 --- a/src/Main.tsx +++ b/src/Main.tsx @@ -46,14 +46,14 @@ document.addEventListener("pointerdown", action(function (e: PointerEvent) { doc2.SetField(KS.X, new NumberField(150)); doc2.SetField(KS.Y, new NumberField(20)); let doc3 = Documents.ImageDocument("https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Cat03.jpg/1200px-Cat03.jpg", { - x: 450, y: 500 + x: 450, y: 500, title: "cat 1" }); let docset = new Array<Document>(doc1, doc2, doc3); let doc4 = Documents.CollectionDocument(docset, { x: 0, y: 400, title: "mini collection" }); 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" + x: 650, y: 500, width: 600, height: 600, title: "cat 2" }); let docset2 = new Array<Document>(doc4, doc1, doc3); let doc6 = Documents.CollectionDocument(docset2, { |