mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 19:53:23 +08:00
Adjust metrics to make timing section fit better in editor
This commit is contained in:
parent
f3f7e28353
commit
d4e88441ec
@ -37,7 +37,7 @@ namespace osu.Game.Screens.Edit.Timing
|
|||||||
RelativeSizeAxes = Axes.X;
|
RelativeSizeAxes = Axes.X;
|
||||||
AutoSizeAxes = Axes.Y;
|
AutoSizeAxes = Axes.Y;
|
||||||
|
|
||||||
Padding = new MarginPadding(10);
|
Padding = new MarginPadding(10) { Bottom = 0 };
|
||||||
|
|
||||||
InternalChildren = new Drawable[]
|
InternalChildren = new Drawable[]
|
||||||
{
|
{
|
||||||
|
@ -77,7 +77,7 @@ namespace osu.Game.Screens.Edit.Timing
|
|||||||
{
|
{
|
||||||
Flow = new FillFlowContainer
|
Flow = new FillFlowContainer
|
||||||
{
|
{
|
||||||
Padding = new MarginPadding(20),
|
Padding = new MarginPadding(10) { Top = 0 },
|
||||||
Spacing = new Vector2(20),
|
Spacing = new Vector2(20),
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
AutoSizeAxes = Axes.Y,
|
AutoSizeAxes = Axes.Y,
|
||||||
|
@ -187,7 +187,7 @@ namespace osu.Game.Screens.Edit.Timing
|
|||||||
Origin = direction,
|
Origin = direction,
|
||||||
Font = OsuFont.Default.With(size: 10, weight: FontWeight.Bold),
|
Font = OsuFont.Default.With(size: 10, weight: FontWeight.Bold),
|
||||||
Text = $"{(index > 0 ? "+" : "-")}{Math.Abs(Multiplier * amount)}",
|
Text = $"{(index > 0 ? "+" : "-")}{Math.Abs(Multiplier * amount)}",
|
||||||
Padding = new MarginPadding(5),
|
Padding = new MarginPadding(2),
|
||||||
Alpha = 0,
|
Alpha = 0,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user