mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 06:36:31 +09:00
Hide score displays during warmup
This commit is contained in:
@ -12,6 +12,10 @@ namespace osu.Game.Tournament.Screens.Gameplay.Components
|
||||
{
|
||||
public class TeamDisplay : DrawableTournamentTeam
|
||||
{
|
||||
private readonly TeamScore score;
|
||||
|
||||
public bool ShowScore { set => score.FadeTo(value ? 1 : 0, 200); }
|
||||
|
||||
public TeamDisplay(TournamentTeam team, TeamColour colour, Bindable<int?> currentTeamScore, int pointsToWin)
|
||||
: base(team)
|
||||
{
|
||||
@ -63,7 +67,7 @@ namespace osu.Game.Tournament.Screens.Gameplay.Components
|
||||
Origin = anchor,
|
||||
Anchor = anchor,
|
||||
},
|
||||
new TeamScore(currentTeamScore, colour, pointsToWin)
|
||||
score = new TeamScore(currentTeamScore, colour, pointsToWin)
|
||||
{
|
||||
Origin = anchor,
|
||||
Anchor = anchor,
|
||||
|
Reference in New Issue
Block a user