mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Merge pull request #20738 from peppy/editor-ux-metrics
Fix some editor display metrics up to feel better
This commit is contained in:
@ -123,16 +123,6 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
new Drawable[]
|
new Drawable[]
|
||||||
{
|
|
||||||
new TextFlowContainer(s => s.Font = s.Font.With(size: 14))
|
|
||||||
{
|
|
||||||
Padding = new MarginPadding { Horizontal = 15 },
|
|
||||||
Text = "beat snap",
|
|
||||||
RelativeSizeAxes = Axes.X,
|
|
||||||
TextAnchor = Anchor.TopCentre
|
|
||||||
},
|
|
||||||
},
|
|
||||||
new Drawable[]
|
|
||||||
{
|
{
|
||||||
new Container
|
new Container
|
||||||
{
|
{
|
||||||
@ -173,6 +163,16 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
new Drawable[]
|
||||||
|
{
|
||||||
|
new TextFlowContainer(s => s.Font = s.Font.With(size: 14))
|
||||||
|
{
|
||||||
|
Padding = new MarginPadding { Horizontal = 15, Vertical = 8 },
|
||||||
|
Text = "beat snap",
|
||||||
|
RelativeSizeAxes = Axes.X,
|
||||||
|
TextAnchor = Anchor.TopCentre,
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
RowDimensions = new[]
|
RowDimensions = new[]
|
||||||
{
|
{
|
||||||
|
@ -78,16 +78,16 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
|
|||||||
LabelText = "Waveform",
|
LabelText = "Waveform",
|
||||||
Current = { Value = true },
|
Current = { Value = true },
|
||||||
},
|
},
|
||||||
controlPointsCheckbox = new OsuCheckbox
|
|
||||||
{
|
|
||||||
LabelText = "Control Points",
|
|
||||||
Current = { Value = true },
|
|
||||||
},
|
|
||||||
ticksCheckbox = new OsuCheckbox
|
ticksCheckbox = new OsuCheckbox
|
||||||
{
|
{
|
||||||
LabelText = "Ticks",
|
LabelText = "Ticks",
|
||||||
Current = { Value = true },
|
Current = { Value = true },
|
||||||
}
|
},
|
||||||
|
controlPointsCheckbox = new OsuCheckbox
|
||||||
|
{
|
||||||
|
LabelText = "BPM",
|
||||||
|
Current = { Value = true },
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -106,6 +106,7 @@ namespace osu.Game.Screens.Edit
|
|||||||
Name = "Main content",
|
Name = "Main content",
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Depth = float.MaxValue,
|
Depth = float.MaxValue,
|
||||||
|
Padding = new MarginPadding(10),
|
||||||
Child = spinner = new LoadingSpinner(true)
|
Child = spinner = new LoadingSpinner(true)
|
||||||
{
|
{
|
||||||
State = { Value = Visibility.Visible },
|
State = { Value = Visibility.Visible },
|
||||||
|
Reference in New Issue
Block a user