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

Merge pull request #10235 from Joehuu/fix-tournament-ruleset-dropdown-anchor

This commit is contained in:
Dean Herbert 2020-10-19 17:46:15 +09:00 committed by GitHub
commit b940a7cee2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,8 +73,9 @@ namespace osu.Game.Graphics.UserInterfaceV2
}, },
new Container new Container
{ {
Anchor = Anchor.CentreRight, // top right works better when the vertical height of the component changes smoothly (avoids weird layout animations).
Origin = Anchor.CentreRight, Anchor = Anchor.TopRight,
Origin = Anchor.TopRight,
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y, AutoSizeAxes = Axes.Y,
Child = Component = CreateComponent().With(d => Child = Component = CreateComponent().With(d =>