Allow arbitrary height catch editor

Useful because can see more notes at once.
This commit is contained in:
ekrctb
2022-10-06 17:26:03 +09:00
parent bda97b407b
commit e8cd9a5d11
5 changed files with 72 additions and 2 deletions

View File

@ -18,6 +18,16 @@ namespace osu.Game.Rulesets.Catch.Edit
{
}
protected override void Update()
{
base.Update();
double gamePlayTimeRange = GetTimeRange(Beatmap.Difficulty.ApproachRate);
TimeRange.Value = gamePlayTimeRange * (Playfield.DrawHeight / CatchPlayfield.HEIGHT);
}
protected override Playfield CreatePlayfield() => new CatchEditorPlayfield(Beatmap.Difficulty);
public override PlayfieldAdjustmentContainer CreatePlayfieldAdjustmentContainer() => new CatchEditorPlayfieldAdjustmentContainer();
}
}