mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
MatchPairing -> TournamentMatch
This commit is contained in:
@ -32,7 +32,7 @@ namespace osu.Game.Tournament.Components
|
||||
|
||||
public const float HEIGHT = 50;
|
||||
|
||||
private readonly Bindable<MatchPairing> currentMatch = new Bindable<MatchPairing>();
|
||||
private readonly Bindable<TournamentMatch> currentMatch = new Bindable<TournamentMatch>();
|
||||
private Box flash;
|
||||
|
||||
public TournamentBeatmapPanel(BeatmapInfo beatmap, string mods = null)
|
||||
@ -141,11 +141,11 @@ namespace osu.Game.Tournament.Components
|
||||
});
|
||||
}
|
||||
|
||||
private void matchChanged(ValueChangedEvent<MatchPairing> pairing)
|
||||
private void matchChanged(ValueChangedEvent<TournamentMatch> match)
|
||||
{
|
||||
if (pairing.OldValue != null)
|
||||
pairing.OldValue.PicksBans.CollectionChanged -= picksBansOnCollectionChanged;
|
||||
pairing.NewValue.PicksBans.CollectionChanged += picksBansOnCollectionChanged;
|
||||
if (match.OldValue != null)
|
||||
match.OldValue.PicksBans.CollectionChanged -= picksBansOnCollectionChanged;
|
||||
match.NewValue.PicksBans.CollectionChanged += picksBansOnCollectionChanged;
|
||||
updateState();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user