Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
farfromrefug committed Oct 18, 2021
1 parent ce3171c commit 266a924
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/charting/jobs/AnimatedViewPortJob.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { BarLineChartBase } from '../charts/BarLineChartBase';
import { Transformer } from '../utils/Transformer';
import { ViewPortHandler } from '../utils/ViewPortHandler';
import { ViewPortJob } from './ViewPortJob';
import { Tween, EasingFunction } from '../animation/Tween';
import { EasingFunction, Tween } from '../animation/Tween';

export interface AnimatorUpdateListener {
onAnimationUpdate(animation: Tween<any>);
Expand Down Expand Up @@ -44,8 +44,8 @@ export abstract class AnimatedViewPortJob extends ViewPortJob implements Animato
if (!this.mAnimator) {
this.createAnimator(this.duration);
}
this.mAnimator.tween( { value: 0 }, { value: 1 }, this.mAnimator['duration']);

this.mAnimator.tween({ value: 0 }, { value: 1 }, this.mAnimator['duration']);
}

public getPhase() {
Expand Down
1 change: 0 additions & 1 deletion src/charting/utils/Utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,6 @@ export namespace Utils {
let drawOffsetX = 0;
let drawOffsetY = 0;


// Android does not snap the bounds to line boundaries,
// and draws from bottom to top.
// And we want to normalize it.
Expand Down

0 comments on commit 266a924

Please sign in to comment.