diff options
author | bob <bcz@cs.brown.edu> | 2019-01-29 12:20:13 -0500 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-01-29 12:20:13 -0500 |
commit | ed982a553d1831353e312ae8137afa95ef84ebe5 (patch) | |
tree | 6a6510f1cfe9aaa0bef3ae071eebeb63592bb1e0 /src/documents/Documents.ts | |
parent | 0402105238f24785a1229dbbb37f2e4dba958f88 (diff) |
semi working docking, but zooming is now broken.
Diffstat (limited to 'src/documents/Documents.ts')
-rw-r--r-- | src/documents/Documents.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/documents/Documents.ts b/src/documents/Documents.ts index a0bd021d8..7cc5de3a3 100644 --- a/src/documents/Documents.ts +++ b/src/documents/Documents.ts @@ -68,10 +68,10 @@ export namespace Documents { return dockProto; } - export function DockDocument(text: string, options: DocumentOptions = {}): Document { + export function DockDocument(documents: Array<Document>, options: DocumentOptions = {}): Document { let doc = GetDockPrototype().MakeDelegate(); setupOptions(doc, options); - // doc.SetField(KeyStore.Data, new TextField(text)); + doc.SetField(KeyStore.Data, new ListField(documents)); return doc; } |