mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 10:42:54 +08:00
Change hover colour for news title
This commit is contained in:
parent
fdfda453c7
commit
84655b0798
@ -24,7 +24,7 @@ namespace osu.Game.Overlays.Dashboard.Home.News
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(GameHost host)
|
||||
private void load(GameHost host, OverlayColourProvider colourProvider)
|
||||
{
|
||||
Child = new TextFlowContainer(t =>
|
||||
{
|
||||
@ -36,6 +36,8 @@ namespace osu.Game.Overlays.Dashboard.Home.News
|
||||
Text = post.Title
|
||||
};
|
||||
|
||||
HoverColour = colourProvider.Light1;
|
||||
|
||||
TooltipText = "view in browser";
|
||||
Action = () => host.OpenUrlExternally("https://osu.ppy.sh/home/news/" + post.Slug);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user