1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-17 05:12:34 +08:00

Rename PostButton to PostLink

This commit is contained in:
Joseph Madamba
2023-05-20 16:38:56 -07:00
Unverified
parent ec5f0bbf42
commit 8aefb62532
@@ -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;