Fixed JSDocs. Fix #5833 #5835

This commit is contained in:
Richard Davey 2021-09-20 11:51:21 +01:00
parent 2f8d6a023d
commit bf087e5068

View file

@ -224,8 +224,8 @@ var Animation = new Class({
*
* @param {Phaser.Animations.Animation} target - The target to set the values on.
* @param {number} totalFrames - The total number of frames in the animation.
* @param {number} duration - The duration to calculate the frame rate from.
* @param {number} frameRate - The frame ate to calculate the duration from.
* @param {?number} [duration] - The duration to calculate the frame rate from. Pass `null` if you wish to set the `frameRate` instead.
* @param {?number} [frameRate] - The frame rate to calculate the duration from.
*/
calculateDuration: function (target, totalFrames, duration, frameRate)
{