1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-05 10:23:20 +08:00

Prevent unnecessary auto-size computations in mania

This commit is contained in:
smoogipoo 2020-03-02 20:08:04 +09:00
parent 89399b177c
commit 9f73b2960d

View File

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