diff options
author | andrewdkim <adkim414@gmail.com> | 2020-02-01 13:52:55 -0500 |
---|---|---|
committer | andrewdkim <adkim414@gmail.com> | 2020-02-01 13:52:55 -0500 |
commit | 648aaeda9255f944275cb7c5ecbbceb669fa6c57 (patch) | |
tree | f24037212a126899ffe349cbe8af60e72b0552ed /src | |
parent | a23aa80dcb4c0278091de6a619a195072a564a7c (diff) |
another set of changes
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/animationtimeline/Track.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/views/animationtimeline/Track.tsx b/src/client/views/animationtimeline/Track.tsx index 6d9cfe55c..e5e7a364c 100644 --- a/src/client/views/animationtimeline/Track.tsx +++ b/src/client/views/animationtimeline/Track.tsx @@ -226,8 +226,7 @@ export class Track extends React.Component<IProps> { private applyKeys = async (kf: Doc) => { let kfNode = await Cast(kf.key, Doc) as Doc; let docFromApply = kfNode; - if (this.filterKeys(Doc.allKeys(this.props.node)).length > this.filterKeys(Doc.allKeys(kfNode)).length) docFromApply = this.props.node; - this.filterKeys(Doc.allKeys(docFromApply)).forEach(key => { + this.whitelist.forEach(key => { if (!kfNode[key]) { this.props.node[key] = undefined; } else { |