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:
parent
461c8e8be0
commit
c06d6d0bbb
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user