1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:07:52 +08:00

Move team seed setting from gameplay screen

This commit is contained in:
Salman Ahmed 2023-10-28 08:42:29 +03:00
parent 832e30c31a
commit 4371a1ab57
2 changed files with 8 additions and 7 deletions

View File

@ -49,7 +49,8 @@ namespace osu.Game.Tournament.Screens.Gameplay
},
header = new MatchHeader
{
ShowLogo = false
ShowLogo = false,
DisplaySeeds = { BindTarget = LadderInfo.DisplayTeamSeeds },
},
new Container
{
@ -119,17 +120,11 @@ namespace osu.Game.Tournament.Screens.Gameplay
Current = LadderInfo.PlayersPerTeam,
KeyboardStep = 1,
},
new SettingsCheckbox
{
LabelText = "Display team seeds",
Current = LadderInfo.DisplayTeamSeeds,
},
}
}
});
LadderInfo.ChromaKeyWidth.BindValueChanged(width => chroma.Width = width.NewValue, true);
LadderInfo.DisplayTeamSeeds.BindValueChanged(v => header.DisplaySeeds.Value = v.NewValue, true);
warmup.BindValueChanged(w =>
{

View File

@ -140,6 +140,12 @@ namespace osu.Game.Tournament.Screens.Setup
Description = "Screens will progress automatically from gameplay -> results -> map pool",
Current = LadderInfo.AutoProgressScreens,
},
new LabelledSwitchButton
{
Label = "Display team seeds",
Description = "Team seeds will display alongside each team at the top in gameplay/map pool screens.",
Current = LadderInfo.DisplayTeamSeeds,
},
};
}