mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Move helper method to end of class
This commit is contained in:
@ -86,8 +86,6 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
|
|
||||||
protected override Color4 SelectionColour => selectionColour;
|
protected override Color4 SelectionColour => selectionColour;
|
||||||
|
|
||||||
private void playTextAddedSample() => textAddedSamples[RNG.Next(0, textAddedSamples.Length)]?.Play();
|
|
||||||
|
|
||||||
protected override void OnUserTextAdded(string added)
|
protected override void OnUserTextAdded(string added)
|
||||||
{
|
{
|
||||||
base.OnUserTextAdded(added);
|
base.OnUserTextAdded(added);
|
||||||
@ -208,6 +206,8 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
SelectionColour = SelectionColour,
|
SelectionColour = SelectionColour,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
private void playTextAddedSample() => textAddedSamples[RNG.Next(0, textAddedSamples.Length)]?.Play();
|
||||||
|
|
||||||
private class OsuCaret : Caret
|
private class OsuCaret : Caret
|
||||||
{
|
{
|
||||||
private const float caret_move_time = 60;
|
private const float caret_move_time = 60;
|
||||||
|
Reference in New Issue
Block a user