1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Rename On{ToggleReady -> ReadyClick}

This commit is contained in:
Bartłomiej Dach 2020-12-30 16:29:36 +01:00
parent dd87478690
commit d34609b98e
4 changed files with 5 additions and 5 deletions

View File

@ -64,7 +64,7 @@ namespace osu.Game.Tests.Visual.Multiplayer
Ruleset = { Value = beatmap.Ruleset }
}
},
OnToggleReady = async () =>
OnReadyClick = async () =>
{
toggleReadyOperation = ongoingOperationTracker.BeginOperation();

View File

@ -20,9 +20,9 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Match
public readonly Bindable<PlaylistItem> SelectedItem = new Bindable<PlaylistItem>();
public Action OnToggleReady
public Action OnReadyClick
{
set => readyButton.OnToggleReady = value;
set => readyButton.OnReadyClick = value;
}
private readonly Drawable background;

View File

@ -23,7 +23,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Match
{
public Bindable<PlaylistItem> SelectedItem => button.SelectedItem;
public Action OnToggleReady
public Action OnReadyClick
{
set => button.Action = value;
}

View File

@ -161,7 +161,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
new MultiplayerMatchFooter
{
SelectedItem = { BindTarget = SelectedItem },
OnToggleReady = onToggleReady
OnReadyClick = onToggleReady
}
}
},