SortSelector -> SortTabControl

This commit is contained in:
Dean Herbert 2019-10-14 21:32:41 +09:00
parent e191c2c50e
commit 89f270a19a
3 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@ namespace osu.Game.Tests.Visual.Online
{
typeof(CommentsHeader),
typeof(HeaderButton),
typeof(SortSelector),
typeof(SortTabControl),
};
private readonly Bindable<CommentsSortCriteria> sort = new Bindable<CommentsSortCriteria>();

View File

@ -55,7 +55,7 @@ namespace osu.Game.Overlays.Comments
Font = OsuFont.GetFont(size: font_size),
Text = @"Sort by"
},
new SortSelector
new SortTabControl
{
Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft,

View File

@ -15,7 +15,7 @@ using osuTK.Graphics;
namespace osu.Game.Overlays.Comments
{
public class SortSelector : OsuTabControl<CommentsSortCriteria>
public class SortTabControl : OsuTabControl<CommentsSortCriteria>
{
private const int spacing = 5;
@ -30,7 +30,7 @@ namespace osu.Game.Overlays.Comments
Spacing = new Vector2(spacing, 0),
};
public SortSelector()
public SortTabControl()
{
AutoSizeAxes = Axes.Both;
}