mirror of https://github.com/ppy/osu
Update textbox event names
This commit is contained in:
parent
4397be60e2
commit
1badc584f6
|
@ -74,9 +74,9 @@ private void load(OsuColour colour, AudioManager audio)
|
|||
|
||||
protected override Color4 SelectionColour => new Color4(249, 90, 255, 255);
|
||||
|
||||
protected override void OnTextAdded(string added)
|
||||
protected override void OnUserTextAdded(string added)
|
||||
{
|
||||
base.OnTextAdded(added);
|
||||
base.OnUserTextAdded(added);
|
||||
|
||||
if (added.Any(char.IsUpper) && AllowUniqueCharacterSamples)
|
||||
capsTextAddedSample?.Play();
|
||||
|
@ -84,9 +84,9 @@ protected override void OnTextAdded(string added)
|
|||
textAddedSamples[RNG.Next(0, 3)]?.Play();
|
||||
}
|
||||
|
||||
protected override void OnTextRemoved(string removed)
|
||||
protected override void OnUserTextRemoved(string removed)
|
||||
{
|
||||
base.OnTextRemoved(removed);
|
||||
base.OnUserTextRemoved(removed);
|
||||
|
||||
textRemovedSample?.Play();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue