mirror of
https://github.com/ppy/osu
synced 2024-12-13 18:37:04 +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
|
||||
{
|
||||
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[]
|
@ -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)
|
||||
|
@ -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>
|
Loading…
Reference in New Issue
Block a user