1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 22:07:25 +08:00

Rename PostButton to PostLink

This commit is contained in:
Joseph Madamba 2023-05-20 16:38:56 -07:00
parent ec5f0bbf42
commit 8aefb62532
No known key found for this signature in database
GPG Key ID: 8B746C7BDDF0BD76

View File

@ -59,7 +59,7 @@ namespace osu.Game.Overlays.News.Sidebar
new PostsContainer
{
Expanded = { BindTarget = Expanded },
Children = posts.Select(p => new PostButton(p)).ToArray()
Children = posts.Select(p => new PostLink(p)).ToArray()
}
}
};
@ -123,9 +123,9 @@ namespace osu.Game.Overlays.News.Sidebar
}
}
private partial class PostButton : LinkFlowContainer
private partial class PostLink : LinkFlowContainer
{
public PostButton(APINewsPost post)
public PostLink(APINewsPost post)
: base(t => t.Font = OsuFont.GetFont(size: 12))
{
RelativeSizeAxes = Axes.X;