OptionsSideNav -> OptionsSidebar.

This commit is contained in:
Dean Herbert 2016-11-08 19:17:09 +09:00
parent 3b0114671e
commit 8c68f9ba93
3 changed files with 7 additions and 15 deletions

View File

@ -9,12 +9,12 @@ using osu.Game.Graphics;
namespace osu.Game.Overlays.Options
{
public class OptionsSideNav : Container
public class OptionsSidebar : Container
{
private FlowContainer content;
protected override Container Content => content;
public OptionsSideNav()
public OptionsSidebar()
{
RelativeSizeAxes = Axes.Y;
InternalChildren = new Drawable[]

View File

@ -97,12 +97,12 @@ namespace osu.Game.Overlays
}
}
},
new OptionsSideNav
new OptionsSidebar
{
Padding = new MarginPadding { Left = sideNavPadding, Right = sideNavPadding },
Width = sideNavWidth + sideNavPadding * 2,
Children = sections.Select(section =>
new OptionsSideNav.SidebarButton
new OptionsSidebar.SidebarButton
{
Icon = section.Icon,
Action = () => scrollContainer.ScrollIntoView(section)

View File

@ -202,7 +202,7 @@
<Compile Include="Overlays\Options\OptionsSection.cs" />
<Compile Include="Overlays\Options\OptionsSubsection.cs" />
<Compile Include="Graphics\UserInterface\LoadingAnimation.cs" />
<Compile Include="Overlays\Options\OptionsSideNav.cs" />
<Compile Include="Overlays\Options\OptionsSidebar.cs" />
<Compile Include="Overlays\Options\General\GeneralSection.cs" />
<Compile Include="Overlays\Options\General\LoginOptions.cs" />
<Compile Include="Overlays\Options\General\UpdateOptions.cs" />
@ -251,15 +251,7 @@
</ItemGroup>
<ItemGroup />
<ItemGroup />
<ItemGroup>
<Folder Include="Overlays\Options\" />
<Folder Include="Overlays\Options\General\" />
<Folder Include="Overlays\Options\Graphics\" />
<Folder Include="Overlays\Options\Gameplay\" />
<Folder Include="Overlays\Options\Audio\" />
<Folder Include="Overlays\Options\Input\" />
<Folder Include="Overlays\Options\Online\" />
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
@ -268,4 +260,4 @@
<Target Name="AfterBuild">
</Target>
-->
</Project>
</Project>