mirror of
https://github.com/ppy/osu
synced 2025-01-24 23:03:14 +00:00
Update textbox event names
This commit is contained in:
parent
4397be60e2
commit
1badc584f6
@ -74,9 +74,9 @@ namespace osu.Game.Graphics.UserInterface
|
||||
|
||||
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 @@ namespace osu.Game.Graphics.UserInterface
|
||||
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
Block a user