aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-03-24 04:00:15 -0400
committerbobzel <zzzman@gmail.com>2021-03-24 04:00:15 -0400
commit7f5cee959475b4e42af3b4ea39dcf92f450fa564 (patch)
treef71a232c2eca6c9926a1d12eae3421a7a0f4a070 /src/client/documents/Documents.ts
parent8f8a12f6e81482d6cbc4789c3b7f74015f33f423 (diff)
renamed audioState to mediaState and cleaned up screenshotBox a little.
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index cdbf43cd7..4e05793d4 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -714,7 +714,7 @@ export namespace Docs {
export function AudioDocument(url: string, options: DocumentOptions = {}) {
return InstanceFromProto(Prototypes.get(DocumentType.AUDIO), new AudioField(new URL(url)),
- { ...options, backgroundColor: ComputedField.MakeFunction("this._audioState === 'playing' ? 'green':'gray'") as any });
+ { ...options, backgroundColor: ComputedField.MakeFunction("this._mediaState === 'playing' ? 'green':'gray'") as any });
}
export function SearchDocument(options: DocumentOptions = {}) {