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:
parent
dd87478690
commit
d34609b98e
@ -64,7 +64,7 @@ namespace osu.Game.Tests.Visual.Multiplayer
|
||||
Ruleset = { Value = beatmap.Ruleset }
|
||||
}
|
||||
},
|
||||
OnToggleReady = async () =>
|
||||
OnReadyClick = async () =>
|
||||
{
|
||||
toggleReadyOperation = ongoingOperationTracker.BeginOperation();
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -161,7 +161,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
|
||||
new MultiplayerMatchFooter
|
||||
{
|
||||
SelectedItem = { BindTarget = SelectedItem },
|
||||
OnToggleReady = onToggleReady
|
||||
OnReadyClick = onToggleReady
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user