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

Merge pull request #8091 from smoogipoo/fix-mania-performance

Prevent unnecessary auto-size computations in mania
This commit is contained in:
Dean Herbert 2020-03-03 13:31:22 +09:00 committed by GitHub
commit 0eff39e3dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,9 +115,8 @@ namespace osu.Game.Rulesets.Mania.UI
{
Anchor = Anchor.TopCentre,
Origin = Anchor.Centre,
AutoSizeAxes = Axes.Both,
RelativeSizeAxes = Axes.Both,
Y = HIT_TARGET_POSITION + 150,
BypassAutoSizeAxes = Axes.Both
},
topLevelContainer = new Container { RelativeSizeAxes = Axes.Both }
}