1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-16 05:37:19 +08:00

Rename weird method

This commit is contained in:
Dean Herbert 2017-11-22 10:59:31 +09:00
parent 461c8e8be0
commit c06d6d0bbb

View File

@ -30,7 +30,7 @@ namespace osu.Game.Screens.Edit.Components
Scale = new Vector2(1.4f),
IconScale = new Vector2(1.4f),
Icon = FontAwesome.fa_play_circle_o,
Action = playPause,
Action = togglePause,
Padding = new MarginPadding { Left = 20 }
},
new OsuSpriteText
@ -59,7 +59,7 @@ namespace osu.Game.Screens.Edit.Components
tabs.Current.ValueChanged += newValue => Track.Tempo.Value = newValue;
}
private void playPause()
private void togglePause()
{
if (Track.IsRunning)
Track.Stop();