mirror of
https://github.com/osukey/osukey.git
synced 2025-04-29 02:37:25 +09:00
Rename PostButton
to PostLink
This commit is contained in:
parent
ec5f0bbf42
commit
8aefb62532
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user