Move catcher base size constant to Catcher.

This commit is contained in:
ekrctb
2021-07-21 16:43:24 +09:00
parent 30777795ce
commit d9f9ad35be
5 changed files with 16 additions and 13 deletions

View File

@ -22,8 +22,6 @@ namespace osu.Game.Rulesets.Catch.UI
/// </summary>
public class CatcherArea : Container, IKeyBindingHandler<CatchAction>
{
public const float CATCHER_SIZE = 106.75f;
public Catcher Catcher
{
get => catcher;
@ -52,7 +50,7 @@ namespace osu.Game.Rulesets.Catch.UI
/// </remarks>
public CatcherArea()
{
Size = new Vector2(CatchPlayfield.WIDTH, CATCHER_SIZE);
Size = new Vector2(CatchPlayfield.WIDTH, Catcher.BASE_SIZE);
Child = comboDisplay = new CatchComboDisplay
{
RelativeSizeAxes = Axes.None,