aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/Track.tsx
diff options
context:
space:
mode:
authorandrewdkim <adkim414@gmail.com>2019-07-22 15:47:18 -0400
committerandrewdkim <adkim414@gmail.com>2019-07-22 15:47:18 -0400
commit9e093b9652750cfd102864c551ed8564a04df92e (patch)
tree8f0971ad1790c19dde0d92fe8dc5f30dadffa56b /src/client/views/nodes/Track.tsx
parent500126248d1bca1b32410e357a910d43a92f9e7a (diff)
debugging
Diffstat (limited to 'src/client/views/nodes/Track.tsx')
-rw-r--r--src/client/views/nodes/Track.tsx7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/client/views/nodes/Track.tsx b/src/client/views/nodes/Track.tsx
index 4ed2ded85..fe9034e8a 100644
--- a/src/client/views/nodes/Track.tsx
+++ b/src/client/views/nodes/Track.tsx
@@ -53,7 +53,6 @@ export class Track extends React.Component<IProps> {
@action
keyReaction = () => {
return reaction(() => {
- console.log("keyreaction ran");
let keys = Doc.allKeys(this.props.node);
return keys.map(key => FieldValue(this.props.node[key]));
}, data => {
@@ -114,10 +113,6 @@ export class Track extends React.Component<IProps> {
let leftkf: (Doc | undefined) = this.calcMinLeft(region!); // lef keyframe, if it exists
let rightkf: (Doc | undefined) = this.calcMinRight(region!); //right keyframe, if it exists
let currentkf: (Doc | undefined) = this.calcCurrent(region!); //if the scrubber is on top of the keyframe
-
- //console.log(currentkf);
- // console.log(leftkf);
- // console.log(rightkf);
if (currentkf){
this.applyKeys(currentkf.key as Doc);
} else {
@@ -154,7 +149,6 @@ export class Track extends React.Component<IProps> {
}
});
}
- console.log("finished applying keys");
}
@action
@@ -187,7 +181,6 @@ export class Track extends React.Component<IProps> {
let compTime = this.props.currentBarX;
if (ref){
compTime = NumCast(ref.time);
- //console.log(compTime);
}
if (NumCast(kf.time) < compTime && NumCast(kf.time) > NumCast(time)) {
leftKf = kf;