mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
Remove unused parameters (#6674)
This commit is contained in:
parent
b39acdb580
commit
80587bb68d
@ -622,11 +622,10 @@ helpers.extend(Chart.prototype, /** @lends Chart */ {
|
||||
easing: config.easing || animationOptions.easing,
|
||||
|
||||
render: function(chart, animationObject) {
|
||||
var easingFunction = helpers.easing.effects[animationObject.easing];
|
||||
var currentStep = animationObject.currentStep;
|
||||
var stepDecimal = currentStep / animationObject.numSteps;
|
||||
const easingFunction = helpers.easing.effects[animationObject.easing];
|
||||
const stepDecimal = animationObject.currentStep / animationObject.numSteps;
|
||||
|
||||
chart.draw(easingFunction(stepDecimal), stepDecimal, currentStep);
|
||||
chart.draw(easingFunction(stepDecimal));
|
||||
},
|
||||
|
||||
onAnimationProgress: animationOptions.onProgress,
|
||||
|
Loading…
Reference in New Issue
Block a user