mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Move IsCounting to KeyCounter.
This commit is contained in:
@ -13,8 +13,14 @@ namespace osu.Game.Graphics.UserInterface
|
||||
Direction = FlowDirection.HorizontalOnly;
|
||||
}
|
||||
|
||||
public void AddKey(Count key) => base.Add(key);
|
||||
public void AddKey(Count key)
|
||||
{
|
||||
key.ParentCounter = this;
|
||||
base.Add(key);
|
||||
}
|
||||
|
||||
public override bool Contains(Vector2 screenSpacePos) => true;
|
||||
|
||||
public bool IsCounting { get; set; }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user