Add and use 'Submit' select sample variant for particular components

This commit is contained in:
Jamie Taylor
2021-07-30 21:23:49 +09:00
parent be3c02ff7f
commit c1d8a7e2ad
10 changed files with 18 additions and 1 deletions

View File

@ -14,6 +14,7 @@ using osu.Framework.Platform;
using osu.Game.Graphics;
using osu.Game.Graphics.Containers;
using osu.Game.Graphics.Sprites;
using osu.Game.Graphics.UserInterface;
using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Overlays.News
@ -28,6 +29,7 @@ namespace osu.Game.Overlays.News
private TextFlowContainer main;
public NewsCard(APINewsPost post)
: base(HoverSampleSet.Submit)
{
this.post = post;