From 915f61a8f723fed578e08ac725c75069fc8666ff Mon Sep 17 00:00:00 2001 From: Huo Yaoyuan Date: Mon, 12 Jun 2017 14:39:49 +0800 Subject: [PATCH] Rename to scrollContentContainer. --- osu.Game/Graphics/Containers/SectionsContainer.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/osu.Game/Graphics/Containers/SectionsContainer.cs b/osu.Game/Graphics/Containers/SectionsContainer.cs index 1b8e9e1f34..e11a12d2a1 100644 --- a/osu.Game/Graphics/Containers/SectionsContainer.cs +++ b/osu.Game/Graphics/Containers/SectionsContainer.cs @@ -18,9 +18,9 @@ namespace osu.Game.Graphics.Containers private Drawable expandableHeader, fixedHeader, footer, headerBackground; public readonly ScrollContainer ScrollContainer; private readonly Container headerBackgroundContainer; - private readonly FlowContainer sectionsContainer; + private readonly FlowContainer scrollContentContainer; - protected override Container Content => sectionsContainer; + protected override Container Content => scrollContentContainer; public Drawable ExpandableHeader { @@ -115,7 +115,7 @@ namespace osu.Game.Graphics.Containers newMargin.Top += headerHeight; newMargin.Bottom += footerHeight; - sectionsContainer.Margin = newMargin; + scrollContentContainer.Margin = newMargin; } public SectionsContainer() @@ -124,7 +124,7 @@ namespace osu.Game.Graphics.Containers { RelativeSizeAxes = Axes.Both, Masking = true, - Children = new Drawable[] { sectionsContainer = CreateScrollContentContainer() }, + Children = new Drawable[] { scrollContentContainer = CreateScrollContentContainer() }, Depth = float.MaxValue }); AddInternal(headerBackgroundContainer = new Container @@ -132,7 +132,7 @@ namespace osu.Game.Graphics.Containers RelativeSizeAxes = Axes.X, Depth = float.MaxValue / 2 }); - originalSectionsMargin = sectionsContainer.Margin; + originalSectionsMargin = scrollContentContainer.Margin; } private float lastKnownScroll;