1
0
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:
Dean Herbert 2022-06-01 22:00:34 +09:00
parent f3f7e28353
commit d4e88441ec
3 changed files with 3 additions and 3 deletions

View File

@ -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[]
{ {

View File

@ -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,

View File

@ -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,
} }
}; };