1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 03:25:11 +08:00

convert field to a local variable

This commit is contained in:
EVAST9919 2019-05-30 23:22:08 +03:00
parent fe9e53e383
commit cfa0ef6fd9

View File

@ -10,8 +10,6 @@ namespace osu.Game.Tests.Visual.Online
{
public class TestSceneShowMoreButton : OsuTestScene
{
private readonly ShowMoreButton button;
public override IReadOnlyList<Type> RequiredTypes => new[]
{
typeof(ShowMoreButton),
@ -19,6 +17,8 @@ namespace osu.Game.Tests.Visual.Online
public TestSceneShowMoreButton()
{
ShowMoreButton button;
Add(button = new ShowMoreButton
{
Anchor = Anchor.Centre,