mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Merge remote-tracking branch 'upstream/master' into tournament-tools
This commit is contained in:
@ -6,6 +6,7 @@ using osu.Framework.Allocation;
|
||||
using osu.Framework.Extensions.Color4Extensions;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Graphics.Effects;
|
||||
using osu.Framework.Graphics.Shapes;
|
||||
using osu.Framework.Graphics.Sprites;
|
||||
using osu.Game.Beatmaps;
|
||||
@ -228,6 +229,7 @@ namespace osu.Game.Tournament.Components
|
||||
}
|
||||
|
||||
bool first = true;
|
||||
|
||||
foreach (var t in tuples)
|
||||
{
|
||||
if (!first)
|
||||
|
@ -171,6 +171,7 @@ namespace osu.Game.Tournament.Components
|
||||
case TeamColour.Red:
|
||||
BorderColour = Color4.Red;
|
||||
break;
|
||||
|
||||
case TeamColour.Blue:
|
||||
BorderColour = Color4.Blue;
|
||||
break;
|
||||
@ -182,6 +183,7 @@ namespace osu.Game.Tournament.Components
|
||||
Colour = Color4.White;
|
||||
Alpha = 1;
|
||||
break;
|
||||
|
||||
case ChoiceType.Ban:
|
||||
Colour = Color4.Gray;
|
||||
Alpha = 0.5f;
|
||||
@ -199,6 +201,7 @@ namespace osu.Game.Tournament.Components
|
||||
private void picksBansOnCollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
|
||||
{
|
||||
var list = (ObservableCollection<BeatmapChoice>)sender;
|
||||
|
||||
if (sender != currentMatch.Value.PicksBans)
|
||||
{
|
||||
// todo: we need a last attribute in bindable valuechanged events badly.
|
||||
|
Reference in New Issue
Block a user