mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Apply some fixes for my own comments
This commit is contained in:
@ -58,9 +58,12 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
Add(maskingContainer = new Container<Path>
|
Add(maskingContainer = new Container<Path>
|
||||||
{
|
{
|
||||||
Masking = true,
|
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)
|
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()
|
private void applyPath()
|
||||||
{
|
{
|
||||||
|
path.ClearVertices();
|
||||||
if (values == null) return;
|
if (values == null) return;
|
||||||
|
|
||||||
path.ClearVertices();
|
|
||||||
int count = Math.Max(values.Length, DefaultValueCount);
|
int count = Math.Max(values.Length, DefaultValueCount);
|
||||||
|
|
||||||
float max = values.Max(), min = values.Min();
|
float max = values.Max(), min = values.Min();
|
||||||
|
@ -45,7 +45,16 @@ namespace osu.Game.Overlays.Profile
|
|||||||
Margin = new MarginPadding
|
Margin = new MarginPadding
|
||||||
{
|
{
|
||||||
Horizontal = UserProfileOverlay.CONTENT_X_MARGIN,
|
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
|
new Box
|
||||||
|
Reference in New Issue
Block a user