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