mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 03:25:11 +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 }
|
Ruleset = { Value = beatmap.Ruleset }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
OnToggleReady = async () =>
|
OnReadyClick = async () =>
|
||||||
{
|
{
|
||||||
toggleReadyOperation = ongoingOperationTracker.BeginOperation();
|
toggleReadyOperation = ongoingOperationTracker.BeginOperation();
|
||||||
|
|
||||||
|
@ -20,9 +20,9 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Match
|
|||||||
|
|
||||||
public readonly Bindable<PlaylistItem> SelectedItem = new Bindable<PlaylistItem>();
|
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;
|
private readonly Drawable background;
|
||||||
|
@ -23,7 +23,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Match
|
|||||||
{
|
{
|
||||||
public Bindable<PlaylistItem> SelectedItem => button.SelectedItem;
|
public Bindable<PlaylistItem> SelectedItem => button.SelectedItem;
|
||||||
|
|
||||||
public Action OnToggleReady
|
public Action OnReadyClick
|
||||||
{
|
{
|
||||||
set => button.Action = value;
|
set => button.Action = value;
|
||||||
}
|
}
|
||||||
|
@ -161,7 +161,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
|
|||||||
new MultiplayerMatchFooter
|
new MultiplayerMatchFooter
|
||||||
{
|
{
|
||||||
SelectedItem = { BindTarget = SelectedItem },
|
SelectedItem = { BindTarget = SelectedItem },
|
||||||
OnToggleReady = onToggleReady
|
OnReadyClick = onToggleReady
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user