mirror of
https://github.com/ppy/osu
synced 2025-03-09 21:07:52 +00:00
SortSelector -> SortTabControl
This commit is contained in:
parent
e191c2c50e
commit
89f270a19a
@ -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>();
|
||||
|
@ -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,
|
||||
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user