mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:17:23 +08:00
Apply some fixes for my own comments
This commit is contained in:
parent
076d561615
commit
5dc0b87ef5
@ -58,9 +58,12 @@ namespace osu.Game.Graphics.UserInterface
|
||||
Add(maskingContainer = new Container<Path>
|
||||
{
|
||||
Masking = true,
|
||||
RelativeSizeAxes = Axes.Both
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Children = new[]
|
||||
{
|
||||
path = new Path { RelativeSizeAxes = Axes.Both, PathWidth = 1 }
|
||||
}
|
||||
});
|
||||
maskingContainer.Add(path = new Path { RelativeSizeAxes = Axes.Both, PathWidth = 1 });
|
||||
}
|
||||
|
||||
public override bool Invalidate(Invalidation invalidation = Invalidation.All, Drawable source = null, bool shallPropagate = true)
|
||||
@ -72,9 +75,9 @@ namespace osu.Game.Graphics.UserInterface
|
||||
|
||||
private void applyPath()
|
||||
{
|
||||
path.ClearVertices();
|
||||
if (values == null) return;
|
||||
|
||||
path.ClearVertices();
|
||||
int count = Math.Max(values.Length, DefaultValueCount);
|
||||
|
||||
float max = values.Max(), min = values.Min();
|
||||
|
@ -45,7 +45,16 @@ namespace osu.Game.Overlays.Profile
|
||||
Margin = new MarginPadding
|
||||
{
|
||||
Horizontal = UserProfileOverlay.CONTENT_X_MARGIN,
|
||||
Bottom = 20
|
||||
Bottom = 200
|
||||
},
|
||||
Children = new Drawable[]
|
||||
{
|
||||
new TextFlowContainer
|
||||
{
|
||||
AutoSizeAxes = Axes.Y,
|
||||
RelativeSizeAxes = Axes.X,
|
||||
Text = "Coming soon!"
|
||||
}
|
||||
}
|
||||
},
|
||||
new Box
|
||||
|
Loading…
Reference in New Issue
Block a user