1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 01:27:29 +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 new PostsContainer
{ {
Expanded = { BindTarget = Expanded }, 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)) : base(t => t.Font = OsuFont.GetFont(size: 12))
{ {
RelativeSizeAxes = Axes.X; RelativeSizeAxes = Axes.X;