mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 16:52:54 +08:00
Add proper test coverage
This commit is contained in:
parent
f44a4c8652
commit
8da499fb0f
@ -3,6 +3,8 @@
|
||||
|
||||
#nullable disable
|
||||
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Game.Graphics.Cursor;
|
||||
using osu.Game.Graphics.UserInterface;
|
||||
using osuTK;
|
||||
|
||||
@ -12,9 +14,15 @@ namespace osu.Game.Tests.Visual.Online
|
||||
{
|
||||
public TestSceneExternalLinkButton()
|
||||
{
|
||||
Child = new ExternalLinkButton("https://osu.ppy.sh/home")
|
||||
Child = new OsuContextMenuContainer
|
||||
{
|
||||
Size = new Vector2(50)
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Child = new ExternalLinkButton("https://osu.ppy.sh/home")
|
||||
{
|
||||
Size = new Vector2(50),
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre,
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user