mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 06:22:55 +08:00
Fix osu!direct visual test initially not having a mode selected.
This commit is contained in:
parent
c449491c04
commit
fc7b4ceff1
@ -37,7 +37,7 @@ namespace osu.Game.Overlays.Direct
|
||||
{
|
||||
DisplayStyleControl.Dropdown.AccentColour = colours.BlueDark;
|
||||
|
||||
Ruleset.BindTo(game?.Ruleset ?? new Bindable<RulesetInfo>());
|
||||
Ruleset.BindTo(game?.Ruleset ?? new Bindable<RulesetInfo>() { Value = rulesets.GetRuleset(0) });
|
||||
foreach (var r in rulesets.AllRulesets)
|
||||
{
|
||||
modeButtons.Add(new RulesetToggleButton(Ruleset, r));
|
||||
|
Loading…
Reference in New Issue
Block a user