Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
jacokok committed Nov 9, 2022
1 parent 8fe729d commit a4a462f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/gauge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export class Gauge {
].join(" ");
}

private updateGauge(theValue: number, frame?: number) {
private updateGauge(theValue: number) {
this.value = theValue;
const val = this.getValueInPercentage(
theValue,
Expand Down Expand Up @@ -242,8 +242,8 @@ export class Gauge {
}
this.setGaugeColor(value, duration);

const step = (val: number, frame: number) => {
this.updateGauge(val, frame);
const step = (val: number) => {
this.updateGauge(val);
};

this.animate({
Expand Down

0 comments on commit a4a462f

Please sign in to comment.