mirror of https://github.com/ppy/osu
Add comment regarding section initialisation in `ScreenBehaviour`
This commit is contained in:
parent
0343687b85
commit
0354dd5ce6
|
@ -74,8 +74,10 @@ private void load()
|
||||||
AutoSizeAxes = Axes.Y,
|
AutoSizeAxes = Axes.Y,
|
||||||
Children = new SettingsSection[]
|
Children = new SettingsSection[]
|
||||||
{
|
{
|
||||||
|
// This list should be kept in sync with SettingsOverlay.
|
||||||
new GeneralSection(),
|
new GeneralSection(),
|
||||||
new SkinSection(),
|
new SkinSection(),
|
||||||
|
// InputSection is intentionally omitted for now due to its sub-panel being a pain to set up.
|
||||||
new UserInterfaceSection(),
|
new UserInterfaceSection(),
|
||||||
new GameplaySection(),
|
new GameplaySection(),
|
||||||
new RulesetSection(),
|
new RulesetSection(),
|
||||||
|
|
|
@ -23,6 +23,7 @@ public class SettingsOverlay : SettingsPanel, INamedOverlayComponent
|
||||||
|
|
||||||
protected override IEnumerable<SettingsSection> CreateSections() => new SettingsSection[]
|
protected override IEnumerable<SettingsSection> CreateSections() => new SettingsSection[]
|
||||||
{
|
{
|
||||||
|
// This list should be kept in sync with ScreenBehaviour.
|
||||||
new GeneralSection(),
|
new GeneralSection(),
|
||||||
new SkinSection(),
|
new SkinSection(),
|
||||||
new InputSection(createSubPanel(new KeyBindingPanel())),
|
new InputSection(createSubPanel(new KeyBindingPanel())),
|
||||||
|
|
Loading…
Reference in New Issue