mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Use AddInternal instead of AddTopLevel.
This commit is contained in:
committed by
Dean Herbert
parent
bcb5a02221
commit
dd04b33232
@ -22,18 +22,19 @@ namespace osu.Game.Graphics.UserInterface
|
||||
set
|
||||
{
|
||||
foreach (var k in value)
|
||||
AddKey(k);
|
||||
addKey(k);
|
||||
|
||||
Children = value;
|
||||
}
|
||||
}
|
||||
|
||||
public void AddKey(KeyCounter key)
|
||||
private void addKey(KeyCounter key)
|
||||
{
|
||||
counters.Add(key);
|
||||
key.IsCounting = this.IsCounting;
|
||||
key.FadeTime = this.FadeTime;
|
||||
key.KeyDownTextColor = this.KeyDownTextColor;
|
||||
key.KeyUpTextColor = this.KeyUpTextColor;
|
||||
base.Add(key);
|
||||
key.IsCounting = IsCounting;
|
||||
key.FadeTime = FadeTime;
|
||||
key.KeyDownTextColor = KeyDownTextColor;
|
||||
key.KeyUpTextColor = KeyUpTextColor;
|
||||
}
|
||||
|
||||
public void ResetCount()
|
||||
|
Reference in New Issue
Block a user