diff --git a/osu.Game.Rulesets.Mania/UI/ManiaHitRenderer.cs b/osu.Game.Rulesets.Mania/UI/ManiaHitRenderer.cs index b6dae3dfe9..6a047b4997 100644 --- a/osu.Game.Rulesets.Mania/UI/ManiaHitRenderer.cs +++ b/osu.Game.Rulesets.Mania/UI/ManiaHitRenderer.cs @@ -4,6 +4,8 @@ using System; using System.Collections.Generic; using System.Linq; +using OpenTK; +using osu.Framework.Graphics; using osu.Game.Beatmaps; using osu.Game.Beatmaps.Timing; using osu.Game.Rulesets.Beatmaps; @@ -31,7 +33,7 @@ namespace osu.Game.Rulesets.Mania.UI protected override Playfield CreatePlayfield() { - List timingSections = new List(); + var timingSections = new List(); // Construct all the relevant timing sections ControlPoint lastTimingChange = null; @@ -74,7 +76,11 @@ namespace osu.Game.Rulesets.Mania.UI } } - return new ManiaPlayfield(Columns ?? (int)Math.Round(Beatmap.BeatmapInfo.Difficulty.CircleSize), timingSections); + return new ManiaPlayfield(Columns ?? (int)Math.Round(Beatmap.BeatmapInfo.Difficulty.CircleSize), timingSections) + { + Anchor = Anchor.Centre, + Origin = Anchor.Centre + }; } public override ScoreProcessor CreateScoreProcessor() => new ManiaScoreProcessor(this); @@ -93,5 +99,7 @@ namespace osu.Game.Rulesets.Mania.UI return null; } + + protected override Vector2 GetPlayfieldAspectAdjust() => new Vector2(1, 0.8f); } } diff --git a/osu.Game.Rulesets.Mania/UI/ManiaPlayfield.cs b/osu.Game.Rulesets.Mania/UI/ManiaPlayfield.cs index 8cf792dbb0..75c1140a9a 100644 --- a/osu.Game.Rulesets.Mania/UI/ManiaPlayfield.cs +++ b/osu.Game.Rulesets.Mania/UI/ManiaPlayfield.cs @@ -73,8 +73,8 @@ namespace osu.Game.Rulesets.Mania.UI { new Container { - Anchor = Anchor.Centre, - Origin = Anchor.Centre, + Anchor = Anchor.BottomCentre, + Origin = Anchor.BottomCentre, RelativeSizeAxes = Axes.Y, AutoSizeAxes = Axes.X, Children = new Drawable[]