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

@ -86,7 +86,7 @@ namespace osu.Game.Beatmaps.Drawables
new FlowContainer
{
Padding = new MarginPadding(5),
FlowStrategy = FlowStrategies.GetHorizontalFlow(),
FlowStrategy = FlowStrategies.CreateHorizontalFlow(),
AutoSizeAxes = Axes.Both,
Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft,
@ -101,13 +101,13 @@ namespace osu.Game.Beatmaps.Drawables
new FlowContainer
{
Padding = new MarginPadding { Left = 5 },
FlowStrategy = FlowStrategies.GetVerticalFlow(),
FlowStrategy = FlowStrategies.CreateVerticalFlow(),
AutoSizeAxes = Axes.Both,
Children = new Drawable[]
{
new FlowContainer
{
FlowStrategy = FlowStrategies.GetHorizontalFlow(new Vector2(4, 0)),
FlowStrategy = FlowStrategies.CreateHorizontalFlow(new Vector2(4, 0)),
AutoSizeAxes = Axes.Both,
Children = new[]
{

View File

@ -38,7 +38,7 @@ namespace osu.Game.Beatmaps.Drawables
},
new FlowContainer
{
FlowStrategy = FlowStrategies.GetVerticalFlow(),
FlowStrategy = FlowStrategies.CreateVerticalFlow(),
Padding = new MarginPadding { Top = 5, Left = 18, Right = 10, Bottom = 10 },
AutoSizeAxes = Axes.Both,
Children = new[]
@ -112,7 +112,7 @@ namespace osu.Game.Beatmaps.Drawables
new FlowContainer
{
Depth = -1,
FlowStrategy = FlowStrategies.GetHorizontalFlow(),
FlowStrategy = FlowStrategies.CreateHorizontalFlow(),
RelativeSizeAxes = Axes.Both,
// This makes the gradient not be perfectly horizontal, but diagonal at a ~40<34> angle
Shear = new Vector2(0.8f, 0),