1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-19 13:02:54 +08:00

Add proper test coverage

This commit is contained in:
Dean Herbert 2022-07-28 12:16:21 +09:00
parent f44a4c8652
commit 8da499fb0f

View File

@ -3,6 +3,8 @@
#nullable disable #nullable disable
using osu.Framework.Graphics;
using osu.Game.Graphics.Cursor;
using osu.Game.Graphics.UserInterface; using osu.Game.Graphics.UserInterface;
using osuTK; using osuTK;
@ -12,9 +14,15 @@ namespace osu.Game.Tests.Visual.Online
{ {
public TestSceneExternalLinkButton() public TestSceneExternalLinkButton()
{ {
Child = new OsuContextMenuContainer
{
RelativeSizeAxes = Axes.Both,
Child = new ExternalLinkButton("https://osu.ppy.sh/home") Child = new ExternalLinkButton("https://osu.ppy.sh/home")
{ {
Size = new Vector2(50) Size = new Vector2(50),
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
}
}; };
} }
} }