Update References to FlowStrategies

References now use the Create*-names instead of the outdated
Get*-names to create instances of FlowStrategies.
This commit is contained in:
default0
2017-02-27 16:55:55 +01:00
parent 0d1dec665a
commit 03889e6ca6
34 changed files with 50 additions and 50 deletions

View File

@ -125,7 +125,7 @@ namespace osu.Game.Screens.Select
{
Anchor = Anchor.BottomLeft,
Origin = Anchor.BottomLeft,
FlowStrategy = FlowStrategies.GetVerticalFlow(),
FlowStrategy = FlowStrategies.CreateVerticalFlow(),
Margin = new MarginPadding { Top = 10, Left = 25, Right = 10, Bottom = 20 },
AutoSizeAxes = Axes.Both,
Children = new Drawable[]
@ -147,7 +147,7 @@ namespace osu.Game.Screens.Select
new FlowContainer
{
Margin = new MarginPadding { Top = 10 },
FlowStrategy = FlowStrategies.GetHorizontalFlow(),
FlowStrategy = FlowStrategies.CreateHorizontalFlow(),
AutoSizeAxes = Axes.Both,
Children = new []
{
@ -170,7 +170,7 @@ namespace osu.Game.Screens.Select
new FlowContainer
{
Margin = new MarginPadding { Top = 20 },
FlowStrategy = FlowStrategies.GetFillFlow(new Vector2(40, 0)),
FlowStrategy = FlowStrategies.CreateFillFlow(new Vector2(40, 0)),
AutoSizeAxes = Axes.Both,
Children = labels
},