aboutsummaryrefslogtreecommitdiff
path: root/src/client/DocServer.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-08-06 18:25:55 -0400
committerbobzel <zzzman@gmail.com>2021-08-06 18:25:55 -0400
commit8480bcbe9e5ddea4bac64273c2e6581d36bb49de (patch)
tree9a844870e45ac3810184b2ed846cbfd850d7ced9 /src/client/DocServer.ts
parente7bbdd3b489fea1c508af53345cd0d1f31685cb9 (diff)
switched back to Playground fields and included width/height/natiive(w,h) to playgorund list
Diffstat (limited to 'src/client/DocServer.ts')
-rw-r--r--src/client/DocServer.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/DocServer.ts b/src/client/DocServer.ts
index d9ae7d64c..5712a1d64 100644
--- a/src/client/DocServer.ts
+++ b/src/client/DocServer.ts
@@ -59,7 +59,7 @@ export namespace DocServer {
export var PlaygroundFields: string[];
export function setPlaygroundFields(livePlaygroundFields: string[]) {
DocServer.PlaygroundFields = livePlaygroundFields;
- livePlaygroundFields.forEach(f => DocServer.setFieldWriteMode(f, DocServer.WriteMode.LivePlayground));
+ livePlaygroundFields.forEach(f => DocServer.setFieldWriteMode(f, DocServer.WriteMode.Playground));
}
export function IsPlaygroundField(field: string) {
return DocServer.PlaygroundFields?.includes(field.replace(/^_/, ""));