1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 17:13:06 +08:00

Fix Catch diffcalc being off

This commit is contained in:
HoLLy 2019-01-31 17:57:59 +01:00
parent 67bb7b4db7
commit 30292f44da
2 changed files with 4 additions and 1 deletions

View File

@ -41,6 +41,8 @@ namespace osu.Game.Rulesets.Catch.Difficulty
var catcher = new CatcherArea.Catcher(beatmap.BeatmapInfo.BaseDifficulty);
float halfCatchWidth = catcher.CatchWidth * 0.5f;
halfCatchWidth *= 0.8f;
var difficultyHitObjects = new List<CatchDifficultyHitObject>();
foreach (var hitObject in beatmap.HitObjects)

View File

@ -25,7 +25,7 @@ namespace osu.Game.Rulesets.Catch.UI
{
public class CatcherArea : Container
{
public const float CATCHER_SIZE = 100;
public const float CATCHER_SIZE = 106.75f;
protected internal readonly Catcher MovableCatcher;
@ -447,6 +447,7 @@ namespace osu.Game.Rulesets.Catch.UI
Size = new Vector2(CATCHER_SIZE);
// Sets the origin roughly to the centre of the catcher's plate to allow for correct scaling.
// OriginPosition = new Vector2(-0.02f, 0.06f) * CATCHER_SIZE;
OriginPosition = new Vector2(-0.02f, 0.06f) * CATCHER_SIZE;
}