1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-08 22:02:56 +08:00

Merge pull request #8563 from smoogipoo/expand-mania-vertically

Expand mania to fit vertical screen bounds
This commit is contained in:
Dean Herbert 2020-04-02 23:01:56 +09:00 committed by GitHub
commit bff58f36e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 24 deletions

View File

@ -3,7 +3,6 @@
using osu.Framework.Graphics; using osu.Framework.Graphics;
using osu.Game.Rulesets.UI; using osu.Game.Rulesets.UI;
using osuTK;
namespace osu.Game.Rulesets.Mania.UI namespace osu.Game.Rulesets.Mania.UI
{ {
@ -13,8 +12,6 @@ namespace osu.Game.Rulesets.Mania.UI
{ {
Anchor = Anchor.Centre; Anchor = Anchor.Centre;
Origin = Anchor.Centre; Origin = Anchor.Centre;
Size = new Vector2(1, 0.8f);
} }
} }
} }

View File

@ -71,15 +71,6 @@ namespace osu.Game.Rulesets.Mania.UI
RelativeSizeAxes = Axes.Y, RelativeSizeAxes = Axes.Y,
AutoSizeAxes = Axes.X, AutoSizeAxes = Axes.X,
Children = new Drawable[] Children = new Drawable[]
{
new Container
{
Name = "Columns mask",
RelativeSizeAxes = Axes.Y,
AutoSizeAxes = Axes.X,
Masking = true,
CornerRadius = 5,
Children = new Drawable[]
{ {
new Box new Box
{ {
@ -95,8 +86,6 @@ namespace osu.Game.Rulesets.Mania.UI
Direction = FillDirection.Horizontal, Direction = FillDirection.Horizontal,
Padding = new MarginPadding { Left = COLUMN_SPACING, Right = COLUMN_SPACING }, Padding = new MarginPadding { Left = COLUMN_SPACING, Right = COLUMN_SPACING },
}, },
}
},
new Container new Container
{ {
Name = "Barlines mask", Name = "Barlines mask",