From 87a641981ff1b8a0f6fba043f47ebea64b5231c3 Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Fri, 10 Nov 2023 18:41:02 -0500
Subject: fixed animation timeline to not fade in/out the collection.  fixed
 keyframe animator to interpolate colors.

---
 src/client/views/animationtimeline/Track.tsx | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'src/client/views/animationtimeline/Track.tsx')

diff --git a/src/client/views/animationtimeline/Track.tsx b/src/client/views/animationtimeline/Track.tsx
index f36b5ade8..d959241d0 100644
--- a/src/client/views/animationtimeline/Track.tsx
+++ b/src/client/views/animationtimeline/Track.tsx
@@ -252,6 +252,9 @@ export class Track extends React.Component<IProps> {
     @action
     private applyKeys = (kf: Doc) => {
         this.primitiveWhitelist.forEach(key => {
+            if (key === 'opacity' && this.props.animatedDoc === this.props.collection) {
+                return;
+            }
             if (!kf[key]) {
                 this.props.animatedDoc[key] = undefined;
             } else {
-- 
cgit v1.2.3-70-g09d2

