mirror of
https://github.com/ppy/osu
synced 2024-12-14 10:57:41 +00:00
OptionsSideNav -> OptionsSidebar.
This commit is contained in:
parent
3b0114671e
commit
8c68f9ba93
@ -9,12 +9,12 @@ using osu.Game.Graphics;
|
|||||||
|
|
||||||
namespace osu.Game.Overlays.Options
|
namespace osu.Game.Overlays.Options
|
||||||
{
|
{
|
||||||
public class OptionsSideNav : Container
|
public class OptionsSidebar : Container
|
||||||
{
|
{
|
||||||
private FlowContainer content;
|
private FlowContainer content;
|
||||||
protected override Container Content => content;
|
protected override Container Content => content;
|
||||||
|
|
||||||
public OptionsSideNav()
|
public OptionsSidebar()
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Y;
|
RelativeSizeAxes = Axes.Y;
|
||||||
InternalChildren = new Drawable[]
|
InternalChildren = new Drawable[]
|
@ -97,12 +97,12 @@ namespace osu.Game.Overlays
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
new OptionsSideNav
|
new OptionsSidebar
|
||||||
{
|
{
|
||||||
Padding = new MarginPadding { Left = sideNavPadding, Right = sideNavPadding },
|
Padding = new MarginPadding { Left = sideNavPadding, Right = sideNavPadding },
|
||||||
Width = sideNavWidth + sideNavPadding * 2,
|
Width = sideNavWidth + sideNavPadding * 2,
|
||||||
Children = sections.Select(section =>
|
Children = sections.Select(section =>
|
||||||
new OptionsSideNav.SidebarButton
|
new OptionsSidebar.SidebarButton
|
||||||
{
|
{
|
||||||
Icon = section.Icon,
|
Icon = section.Icon,
|
||||||
Action = () => scrollContainer.ScrollIntoView(section)
|
Action = () => scrollContainer.ScrollIntoView(section)
|
||||||
|
@ -202,7 +202,7 @@
|
|||||||
<Compile Include="Overlays\Options\OptionsSection.cs" />
|
<Compile Include="Overlays\Options\OptionsSection.cs" />
|
||||||
<Compile Include="Overlays\Options\OptionsSubsection.cs" />
|
<Compile Include="Overlays\Options\OptionsSubsection.cs" />
|
||||||
<Compile Include="Graphics\UserInterface\LoadingAnimation.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\GeneralSection.cs" />
|
||||||
<Compile Include="Overlays\Options\General\LoginOptions.cs" />
|
<Compile Include="Overlays\Options\General\LoginOptions.cs" />
|
||||||
<Compile Include="Overlays\Options\General\UpdateOptions.cs" />
|
<Compile Include="Overlays\Options\General\UpdateOptions.cs" />
|
||||||
@ -251,15 +251,7 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup />
|
<ItemGroup />
|
||||||
<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>
|
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- 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.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
|
Loading…
Reference in New Issue
Block a user