diff options
author | Mehek Jethani <53710923+mehekj@users.noreply.github.com> | 2022-03-20 22:46:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-20 22:46:09 -0400 |
commit | 0885f2b6ea10bdc54f587040ea8e6dc90ef5b0f3 (patch) | |
tree | 7d10a6a48e93b16cd1c8a4b285ec022f5b515738 /src/fields/Doc.ts | |
parent | 5d50e0673fde8aabb2d87a75624b40d3b9c65df3 (diff) | |
parent | 39c85293f6c3d385ea64ba0db8c9736dfaaec993 (diff) |
Merge pull request #43 from brown-dash/temporalmedia-mehek
Temporalmedia mehek - audio and video UI updates. adds trimming, zooming, and volume controls. replaces native video controls with dash UI
Diffstat (limited to 'src/fields/Doc.ts')
-rw-r--r-- | src/fields/Doc.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fields/Doc.ts b/src/fields/Doc.ts index 8a5491b4b..c15d4b4af 100644 --- a/src/fields/Doc.ts +++ b/src/fields/Doc.ts @@ -346,6 +346,7 @@ export namespace Doc { return GetT(doc, "system", "boolean", true); } export async function SetInPlace(doc: Doc, key: string, value: Field | undefined, defaultProto: boolean) { + if (key.startsWith("_")) key = key.substring(1); const hasProto = doc.proto instanceof Doc; const onDeleg = Object.getOwnPropertyNames(doc).indexOf(key) !== -1; const onProto = hasProto && Object.getOwnPropertyNames(doc.proto).indexOf(key) !== -1; |