From 92142bba66010a8792c00dc372228b92e151c8b3 Mon Sep 17 00:00:00 2001
From: Jenny Yu <jennyyu212@outlook.com>
Date: Wed, 4 May 2022 00:15:53 -0400
Subject: fix: removed clear previous button

---
 src/client/views/nodes/RecordingBox/RecordingBox.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src/client/views/nodes/RecordingBox/RecordingBox.tsx')

diff --git a/src/client/views/nodes/RecordingBox/RecordingBox.tsx b/src/client/views/nodes/RecordingBox/RecordingBox.tsx
index 86358e838..a49cbbea5 100644
--- a/src/client/views/nodes/RecordingBox/RecordingBox.tsx
+++ b/src/client/views/nodes/RecordingBox/RecordingBox.tsx
@@ -38,7 +38,8 @@ export class RecordingBox extends ViewBoxBaseComponent() {
             console.log(this.videoDuration)
             this.dataDoc[this.fieldKey + "-duration"] = this.videoDuration;
 
-            this.layoutDoc.layout = VideoBox.LayoutString(this.fieldKey);
+            // this.layoutDoc.layout = VideoBox.LayoutString(this.fieldKey);
+            this.dataDoc.layout = VideoBox.LayoutString(this.fieldKey);
             // this.dataDoc.nativeWidth = this.dataDoc.nativeHeight = undefined;
             // this.layoutDoc._fitWidth = undefined;
             this.dataDoc[this.props.fieldKey] = new VideoField(this.result.accessPaths.agnostic.client);
-- 
cgit v1.2.3-70-g09d2

