From 4d61c583f39eb8ab4f112a278a1f1329b30ea97c Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Thu, 21 Dec 2023 15:15:38 -0500
Subject: fixed making componentview and animatescaletime observable

---
 src/client/views/nodes/DocumentView.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index ab413e6f2..a05ea3390 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -259,8 +259,8 @@ export class DocumentViewInternal extends DocComponent<DocumentViewInternalProps
         makeObservable(this);
     }
 
-    @observable _componentView: Opt<DocComponentView>; // needs to be accessed from DocumentView wrapper class
-    @observable _animateScaleTime: Opt<number>; // milliseconds for animating between views.  defaults to 300 if not uset
+    @observable _componentView: Opt<DocComponentView> = undefined; // needs to be accessed from DocumentView wrapper class
+    @observable _animateScaleTime: Opt<number> = undefined; // milliseconds for animating between views.  defaults to 300 if not uset
     @observable _animateScalingTo = 0;
 
     public get animateScaleTime() {
-- 
cgit v1.2.3-70-g09d2

