mirror of
https://github.com/ppy/osu
synced 2025-04-11 03:31:46 +00:00
Fix Catch diffcalc being off
This commit is contained in:
parent
67bb7b4db7
commit
30292f44da
@ -41,6 +41,8 @@ namespace osu.Game.Rulesets.Catch.Difficulty
|
|||||||
var catcher = new CatcherArea.Catcher(beatmap.BeatmapInfo.BaseDifficulty);
|
var catcher = new CatcherArea.Catcher(beatmap.BeatmapInfo.BaseDifficulty);
|
||||||
float halfCatchWidth = catcher.CatchWidth * 0.5f;
|
float halfCatchWidth = catcher.CatchWidth * 0.5f;
|
||||||
|
|
||||||
|
halfCatchWidth *= 0.8f;
|
||||||
|
|
||||||
var difficultyHitObjects = new List<CatchDifficultyHitObject>();
|
var difficultyHitObjects = new List<CatchDifficultyHitObject>();
|
||||||
|
|
||||||
foreach (var hitObject in beatmap.HitObjects)
|
foreach (var hitObject in beatmap.HitObjects)
|
||||||
|
@ -25,7 +25,7 @@ namespace osu.Game.Rulesets.Catch.UI
|
|||||||
{
|
{
|
||||||
public class CatcherArea : Container
|
public class CatcherArea : Container
|
||||||
{
|
{
|
||||||
public const float CATCHER_SIZE = 100;
|
public const float CATCHER_SIZE = 106.75f;
|
||||||
|
|
||||||
protected internal readonly Catcher MovableCatcher;
|
protected internal readonly Catcher MovableCatcher;
|
||||||
|
|
||||||
@ -447,6 +447,7 @@ namespace osu.Game.Rulesets.Catch.UI
|
|||||||
Size = new Vector2(CATCHER_SIZE);
|
Size = new Vector2(CATCHER_SIZE);
|
||||||
|
|
||||||
// Sets the origin roughly to the centre of the catcher's plate to allow for correct scaling.
|
// 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;
|
OriginPosition = new Vector2(-0.02f, 0.06f) * CATCHER_SIZE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user