From 726dfb8fea45352b2eb0729ad6d3b4a7b0824e1a Mon Sep 17 00:00:00 2001 From: bobzel Date: Sat, 6 Mar 2021 16:34:44 -0500 Subject: updated a bunch of _backgroundColors to backgroundColors --- src/client/documents/Documents.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/client/documents/Documents.ts') diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index ca5ee9cbd..0da80d2c4 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -153,7 +153,7 @@ export class DocumentOptions { "_carousel-caption-yMargin"?: number; x?: number; y?: number; - z?: number; + z?: number; // whether document is in overlay (1) or not (0 or undefined) author?: string; layoutKey?: string; type?: string; @@ -260,9 +260,9 @@ export namespace Docs { const _docOptions = new DocumentOptions(); export async function setupFieldInfos() { - return await DocServer.GetRefField("FieldInfos7") as Doc ?? + return await DocServer.GetRefField("FieldInfos8") as Doc ?? runInAction(() => { - const infos = new Doc("FieldInfos7", true); + const infos = new Doc("FieldInfos8", true); const keys = Object.keys(new DocumentOptions()); for (const key of keys) { const options = (_docOptions as any)[key] as FInfo; @@ -728,7 +728,7 @@ export namespace Docs { } export function ComparisonDocument(options: DocumentOptions = { title: "Comparison Box" }) { - return InstanceFromProto(Prototypes.get(DocumentType.COMPARISON), "", { clipWidth: 50, _backgroundColor: "gray", targetDropAction: "alias", ...options }); + return InstanceFromProto(Prototypes.get(DocumentType.COMPARISON), "", { clipWidth: 50, backgroundColor: "gray", targetDropAction: "alias", ...options }); } export function AudioDocument(url: string, options: DocumentOptions = {}) { -- cgit v1.2.3-70-g09d2