diff options
author | bob <bcz@cs.brown.edu> | 2019-10-15 13:42:13 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-10-15 13:42:13 -0400 |
commit | 03f86e3b7b450699073c47aa43af23d31e0765d4 (patch) | |
tree | 74a5066ca8f15cab25a626894edf8ea9e46d01cb /src/client/documents/Documents.ts | |
parent | 69d822d6c68b69e5bfeeff03942ea9bab71cecc3 (diff) |
extensions for linearViews or nesting.
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r-- | src/client/documents/Documents.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index 5794a6bee..6df172f46 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -471,7 +471,7 @@ export namespace Docs { } export function LinearDocument(documents: Array<Doc>, options: DocumentOptions, id?: string) { - return InstanceFromProto(Prototypes.get(DocumentType.COL), new List(documents), { chromeStatus: "collapsed", schemaColumns: new List([new SchemaHeaderField("title", "#f1efeb")]), ...options, viewType: CollectionViewType.Linear }, id); + return InstanceFromProto(Prototypes.get(DocumentType.COL), new List(documents), { chromeStatus: "collapsed", backgroundColor: "black", schemaColumns: new List([new SchemaHeaderField("title", "#f1efeb")]), ...options, viewType: CollectionViewType.Linear }, id); } export function SchemaDocument(schemaColumns: SchemaHeaderField[], documents: Array<Doc>, options: DocumentOptions) { |