1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 04:02:57 +08:00

Adjust documents

*whoops*
This commit is contained in:
Salman Ahmed 2020-04-22 07:36:59 +03:00
parent f841eb7e06
commit fccb30e031
No known key found for this signature in database
GPG Key ID: ED81FD33FD9B58BC

View File

@ -150,14 +150,14 @@ namespace osu.Game.Rulesets.Catch.UI
/// <summary>
/// Calculates the width of the area used for attempting catches in gameplay.
/// </summary>
/// <param name="scale">The scale of the catcher.</param>
internal static float CalculateCatchWidth(Vector2 scale)
=> CatcherArea.CATCHER_SIZE * Math.Abs(scale.X) * allowed_catch_range;
/// <summary>
/// Calculates the width of the area used for attempting catches in gameplay.
/// </summary>
/// <param name="difficulty"></param>
/// <returns></returns>
/// <param name="difficulty">The beatmap difficulty.</param>
internal static float CalculateCatchWidth(BeatmapDifficulty difficulty)
=> CalculateCatchWidth(CalculateScale(difficulty));