mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Move direction declaration to usage.
This commit is contained in:
@ -81,6 +81,7 @@ namespace osu.Game.GameModes.Menu
|
||||
},
|
||||
buttonFlow = new FlowContainerWithOrigin
|
||||
{
|
||||
Direction = FlowDirection.HorizontalOnly,
|
||||
Anchor = Anchor.Centre,
|
||||
Spacing = new Vector2(-wedge_width, 0),
|
||||
Children = new Drawable[]
|
||||
@ -133,7 +134,7 @@ namespace osu.Game.GameModes.Menu
|
||||
State = MenuState.Initial;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -27,10 +27,5 @@ namespace osu.Game.GameModes.Menu
|
||||
return CentreTarget.Position + CentreTarget.Size / 2;
|
||||
}
|
||||
}
|
||||
|
||||
public FlowContainerWithOrigin()
|
||||
{
|
||||
Direction = FlowDirection.HorizontalOnly;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user