mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 03:42:57 +08:00
Move team seed setting from gameplay screen
This commit is contained in:
parent
832e30c31a
commit
4371a1ab57
@ -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 =>
|
||||
{
|
||||
|
@ -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,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user