Add comment regarding section initialisation in `ScreenBehaviour`

This commit is contained in:
Dean Herbert 2022-04-27 16:02:39 +09:00
parent 0343687b85
commit 0354dd5ce6
2 changed files with 3 additions and 0 deletions

View File

@ -74,8 +74,10 @@ private void load()
AutoSizeAxes = Axes.Y,
Children = new SettingsSection[]
{
// This list should be kept in sync with SettingsOverlay.
new GeneralSection(),
new SkinSection(),
// InputSection is intentionally omitted for now due to its sub-panel being a pain to set up.
new UserInterfaceSection(),
new GameplaySection(),
new RulesetSection(),

View File

@ -23,6 +23,7 @@ public class SettingsOverlay : SettingsPanel, INamedOverlayComponent
protected override IEnumerable<SettingsSection> CreateSections() => new SettingsSection[]
{
// This list should be kept in sync with ScreenBehaviour.
new GeneralSection(),
new SkinSection(),
new InputSection(createSubPanel(new KeyBindingPanel())),