mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Make extended score panel taller to better fit all information
This commit is contained in:
@ -39,7 +39,7 @@ namespace osu.Game.Screens.Ranking
|
||||
/// <summary>
|
||||
/// Height of the panel when expanded.
|
||||
/// </summary>
|
||||
private const float expanded_height = 560;
|
||||
private const float expanded_height = 586;
|
||||
|
||||
/// <summary>
|
||||
/// Height of the top layer when the panel is expanded.
|
||||
@ -105,11 +105,16 @@ namespace osu.Game.Screens.Ranking
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
// ScorePanel doesn't include the top extruding area in its own size.
|
||||
// Adding a manual offset here allows the expanded version to take on an "acceptable" vertical centre when at 100% UI scale.
|
||||
const float vertical_fudge = 20;
|
||||
|
||||
InternalChild = content = new Container
|
||||
{
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre,
|
||||
Size = new Vector2(40),
|
||||
Y = vertical_fudge,
|
||||
Children = new Drawable[]
|
||||
{
|
||||
topLayerContainer = new Container
|
||||
|
Reference in New Issue
Block a user