aboutsummaryrefslogtreecommitdiff
path: root/src/Main.tsx
diff options
context:
space:
mode:
authorAndrew Kim <andrewdkim@users.noreply.github.com>2019-02-26 19:20:23 -0500
committerAndrew Kim <andrewdkim@users.noreply.github.com>2019-02-26 19:20:23 -0500
commit094b766c7d3097180a6022273001d08672456ef8 (patch)
treefe75302bf0ea6675356ca7b00529f9f25ab543f5 /src/Main.tsx
parent0fce0d7db0986f31a4f1013e42609da382c027e1 (diff)
transition from ImageBox to PDFNode. Annotations also now indexable per page, similar to stickies/area selection
Diffstat (limited to 'src/Main.tsx')
-rw-r--r--src/Main.tsx7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Main.tsx b/src/Main.tsx
index f29dd192e..e2e1137da 100644
--- a/src/Main.tsx
+++ b/src/Main.tsx
@@ -48,9 +48,10 @@ document.addEventListener("pointerdown", action(function (e: PointerEvent) {
let doc2 = doc1.MakeDelegate();
doc2.Set(KS.X, new NumberField(150));
doc2.Set(KS.Y, new NumberField(20));
- let doc3 = Documents.ImageDocument("https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Cat03.jpg/1200px-Cat03.jpg", {
- x:0, y: 0, width: 500, height: 500,title: "cat 1"
- });
+
+ //let doc3 = Documents.ImageDocument("https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Cat03.jpg/1200px-Cat03.jpg", {
+ //x:0, y: 0, width: 500, height: 500,title: "cat 1"
+ //});
// const schemaDocs = Array.from(Array(5).keys()).map(v => Documents.ImageDocument("https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Cat03.jpg/1200px-Cat03.jpg", {
// x: 50 + 100 * v, y: 50, width: 100, height: 100, title: "cat" + v