mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 09:57:21 +09: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),
|
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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user