mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
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:
@ -21,7 +21,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
{
|
||||
new FlowContainer
|
||||
{
|
||||
FlowStrategy = FlowStrategies.GetHorizontalFlow(),
|
||||
FlowStrategy = FlowStrategies.CreateHorizontalFlow(),
|
||||
RelativeSizeAxes = Axes.X,
|
||||
AutoSizeAxes = Axes.Y,
|
||||
Children = new Drawable[]
|
||||
|
@ -73,7 +73,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
stars = new FlowContainer<Star>
|
||||
{
|
||||
AutoSizeAxes = Axes.Both,
|
||||
FlowStrategy = FlowStrategies.GetHorizontalFlow(new Vector2(star_spacing)),
|
||||
FlowStrategy = FlowStrategies.CreateHorizontalFlow(new Vector2(star_spacing)),
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -39,7 +39,7 @@ namespace osu.Game.Graphics.UserInterface.Volume
|
||||
Anchor = Anchor.BottomRight,
|
||||
Origin = Anchor.BottomRight,
|
||||
Margin = new MarginPadding { Left = 10, Right = 10, Top = 30, Bottom = 30 },
|
||||
FlowStrategy = FlowStrategies.GetFillFlow(new Vector2(15, 0)),
|
||||
FlowStrategy = FlowStrategies.CreateFillFlow(new Vector2(15, 0)),
|
||||
Children = new Drawable[]
|
||||
{
|
||||
volumeMeterMaster = new VolumeMeter("Master"),
|
||||
|
Reference in New Issue
Block a user