1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-23 06:59:53 +08:00

Adjust documents

*whoops*
This commit is contained in:
Salman Ahmed
2020-04-22 07:36:59 +03:00
Unverified
parent f841eb7e06
commit fccb30e031
+2 -2
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));