aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/trails/PresElementBox.tsx
diff options
context:
space:
mode:
authorJenny Yu <jennyyu212@outlook.com>2022-06-07 08:51:41 -0700
committerJenny Yu <jennyyu212@outlook.com>2022-06-07 08:51:41 -0700
commit6493d95e92c8ed58bb3a8c07ea4ca28dae82ea1d (patch)
tree4d472a9e36102b7c8619da9eb46283908bebe88e /src/client/views/nodes/trails/PresElementBox.tsx
parent2e42d66be1439de347305cfd43c6f7e7042127c6 (diff)
removing decorations on recording box
Diffstat (limited to 'src/client/views/nodes/trails/PresElementBox.tsx')
-rw-r--r--src/client/views/nodes/trails/PresElementBox.tsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/client/views/nodes/trails/PresElementBox.tsx b/src/client/views/nodes/trails/PresElementBox.tsx
index 99fc61cde..083ca5bea 100644
--- a/src/client/views/nodes/trails/PresElementBox.tsx
+++ b/src/client/views/nodes/trails/PresElementBox.tsx
@@ -51,11 +51,11 @@ export class PresElementBox extends ViewBoxBaseComponent<FieldViewProps>() {
componentWillUnmount() {
this._heightDisposer?.();
}
-
- @action
- presExpandDocumentClick = () => {
+
+ @action
+ presExpandDocumentClick = () => {
this.rootDoc.presExpandInlineButton = !this.rootDoc.presExpandInlineButton;
- }
+ }
/**
* Returns a local transformed coordinate array for given coordinates.
@@ -324,7 +324,7 @@ export class PresElementBox extends ViewBoxBaseComponent<FieldViewProps>() {
} else {
// if we dont have any recording
- const recording = Docs.Create.WebCamDocument("", { _width: 400, _height: 200, title: "recording", cloneFieldFilter: new List<string>(["system"]) });
+ const recording = Docs.Create.WebCamDocument("", { _width: 400, _height: 200, hideDocumentButtonBar: true, title: "recording", cloneFieldFilter: new List<string>(["system"]) });
// attach the recording to the slide, and attach the slide to the recording
recording.slides = activeItem