Skip to content

Commit 24daa42

Browse files
committed
chore: cleanup
1 parent 6baf483 commit 24daa42

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

Diff for: src/charting/animation/ChartAnimator.ts

-14
Original file line numberDiff line numberDiff line change
@@ -27,37 +27,23 @@ export class ChartAnimator {
2727
.to({ value: 1 }, duration)
2828
.easing(easing)
2929
.onUpdate((obj) => {
30-
// this.log('onUpdate', obj.value);
3130
this.setPhaseX(obj.value);
3231
if (listener) {
3332
listener();
3433
}
35-
// ()=>this.onAnimationUpdate(this.animator)
3634
});
37-
// ObjectAnimator animatorX = ObjectAnimator.ofFloat(this, "phaseX", 0, 1);
38-
// animatorX.setInterpolator(easing);
39-
// animatorX.setDuration(duration);
40-
41-
// return animatorX;
4235
}
4336

4437
private yAnimator(duration, easing: EasingFunction = Easing.Linear.None, listener?: () => void) {
4538
return new TWEEN.Tween({ value: 0 })
4639
.to({ value: 1 }, duration)
4740
.easing(easing)
4841
.onUpdate((obj) => {
49-
// this.log('onUpdate', obj.value);
5042
this.setPhaseY(obj.value);
5143
if (listener) {
5244
listener();
5345
}
54-
// ()=>this.onAnimationUpdate(this.animator)
5546
});
56-
// ObjectAnimator animatorY = ObjectAnimator.ofFloat(this, "phaseY", 0, 1);
57-
// animatorY.setInterpolator(easing);
58-
// animatorY.setDuration(duration);
59-
60-
// return animatorY;
6147
}
6248

6349
/**

0 commit comments

Comments
 (0)