Add a testcase

This commit is contained in:
EVAST9919
2019-06-10 03:35:00 +03:00
parent d86e3d0c4c
commit 9b8540d818
2 changed files with 37 additions and 2 deletions

View File

@ -40,7 +40,7 @@ namespace osu.Game.Overlays.Toolbar
RelativeSizeAxes = Axes.Y;
AutoSizeAxes = Axes.X;
AddRangeInternal(new Drawable[]
AddRangeInternal(new[]
{
new OpaqueBackground
{
@ -48,7 +48,7 @@ namespace osu.Game.Overlays.Toolbar
},
modeButtonLine = new Container
{
Size = new Vector2(padding* 2 + ToolbarButton.WIDTH, 3),
Size = new Vector2(padding * 2 + ToolbarButton.WIDTH, 3),
Anchor = Anchor.BottomLeft,
Origin = Anchor.TopLeft,
Masking = true,