Update textbox event names

This commit is contained in:
Dean Herbert 2020-08-19 22:10:58 +09:00
parent 4397be60e2
commit 1badc584f6
1 changed files with 4 additions and 4 deletions

View File

@ -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();
}