mirror of
https://github.com/ppy/osu.git
synced 2026-06-04 17:43:45 +08:00
Move spacing local to usages
This commit is contained in:
@@ -117,7 +117,6 @@ namespace osu.Game.Overlays.Toolbar
|
||||
Flow = new FillFlowContainer
|
||||
{
|
||||
Direction = FillDirection.Horizontal,
|
||||
Spacing = new Vector2(5),
|
||||
Anchor = Anchor.TopCentre,
|
||||
Origin = Anchor.TopCentre,
|
||||
Padding = new MarginPadding { Left = Toolbar.HEIGHT / 2, Right = Toolbar.HEIGHT / 2 },
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace osu.Game.Overlays.Toolbar
|
||||
Origin = Anchor.CentreLeft,
|
||||
Width = 3f,
|
||||
Height = IconContainer.Height,
|
||||
Margin = new MarginPadding { Horizontal = 2.5f },
|
||||
Margin = new MarginPadding { Left = 7.5f, Right = 2.5f },
|
||||
Masking = true,
|
||||
Children = new[]
|
||||
{
|
||||
|
||||
@@ -89,7 +89,10 @@ namespace osu.Game.Overlays.Toolbar
|
||||
},
|
||||
}
|
||||
},
|
||||
new TransientUserStatisticsUpdateDisplay()
|
||||
new TransientUserStatisticsUpdateDisplay
|
||||
{
|
||||
Alpha = 0,
|
||||
}
|
||||
});
|
||||
|
||||
apiState = api.State.GetBoundCopy();
|
||||
|
||||
@@ -32,7 +32,6 @@ namespace osu.Game.Overlays.Toolbar
|
||||
private void load(UserStatisticsWatcher? userStatisticsWatcher)
|
||||
{
|
||||
RelativeSizeAxes = Axes.Y;
|
||||
Alpha = 0;
|
||||
|
||||
InternalChild = new FillFlowContainer
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user