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

@ -84,7 +84,7 @@ namespace osu.Game.Overlays.Toolbar
},
Flow = new FlowContainer
{
FlowStrategy = FlowStrategies.GetHorizontalFlow(new Vector2(5)),
FlowStrategy = FlowStrategies.CreateHorizontalFlow(new Vector2(5)),
Anchor = Anchor.TopCentre,
Origin = Anchor.TopCentre,
Padding = new MarginPadding { Left = Toolbar.HEIGHT / 2, Right = Toolbar.HEIGHT / 2 },
@ -106,7 +106,7 @@ namespace osu.Game.Overlays.Toolbar
},
tooltipContainer = new FlowContainer
{
FlowStrategy = FlowStrategies.GetVerticalFlow(),
FlowStrategy = FlowStrategies.CreateVerticalFlow(),
RelativeSizeAxes = Axes.Both, //stops us being considered in parent's autosize
Anchor = (TooltipAnchor & Anchor.x0) > 0 ? Anchor.BottomLeft : Anchor.BottomRight,
Origin = TooltipAnchor,