diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-06-27 22:54:06 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-06-27 22:54:06 -0400 |
commit | bacf327d709af79ccc207a1aef27dfb72e70ac40 (patch) | |
tree | 90ded472814e243106dbe75e0311028b42647238 /src/client/views/MainView.tsx | |
parent | b340defb4a4b8c5b7604099e7b0fb5b6846f70aa (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.tsx | 3 |
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 => { |