mirror of
https://github.com/ppy/osu.git
synced 2025-01-19 07:23:20 +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]
|
[BackgroundDependencyLoader]
|
||||||
private void load(GameHost host)
|
private void load(GameHost host, OverlayColourProvider colourProvider)
|
||||||
{
|
{
|
||||||
Child = new TextFlowContainer(t =>
|
Child = new TextFlowContainer(t =>
|
||||||
{
|
{
|
||||||
@ -36,6 +36,8 @@ namespace osu.Game.Overlays.Dashboard.Home.News
|
|||||||
Text = post.Title
|
Text = post.Title
|
||||||
};
|
};
|
||||||
|
|
||||||
|
HoverColour = colourProvider.Light1;
|
||||||
|
|
||||||
TooltipText = "view in browser";
|
TooltipText = "view in browser";
|
||||||
Action = () => host.OpenUrlExternally("https://osu.ppy.sh/home/news/" + post.Slug);
|
Action = () => host.OpenUrlExternally("https://osu.ppy.sh/home/news/" + post.Slug);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user