mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Update textbox event names
This commit is contained in:
@ -74,9 +74,9 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
|
|
||||||
protected override Color4 SelectionColour => new Color4(249, 90, 255, 255);
|
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)
|
if (added.Any(char.IsUpper) && AllowUniqueCharacterSamples)
|
||||||
capsTextAddedSample?.Play();
|
capsTextAddedSample?.Play();
|
||||||
@ -84,9 +84,9 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
textAddedSamples[RNG.Next(0, 3)]?.Play();
|
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();
|
textRemovedSample?.Play();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user