aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/MainView.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-06-27 22:54:06 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-06-27 22:54:06 -0400
commitbacf327d709af79ccc207a1aef27dfb72e70ac40 (patch)
tree90ded472814e243106dbe75e0311028b42647238 /src/client/views/MainView.tsx
parentb340defb4a4b8c5b7604099e7b0fb5b6846f70aa (diff)
set LivePlayground to be the default for view-oriented fields
Diffstat (limited to 'src/client/views/MainView.tsx')
-rw-r--r--src/client/views/MainView.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx
index d1957c4af..d7e7db592 100644
--- a/src/client/views/MainView.tsx
+++ b/src/client/views/MainView.tsx
@@ -81,7 +81,10 @@ export class MainView extends React.Component {
public isPointerDown = false;
+
componentDidMount() {
+ DocServer.setPlaygroundFields(["panTransformType", "transition", "_panX", "_panY", "scale", "_viewType"]); // can play with these fields on someone else's
+
const tag = document.createElement('script');
const proto = DocServer.GetRefField("rtfProto").then(proto => {