mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 01:52:55 +08:00
Fix edge cases where selection buttons go outside playfield bounds
Addresses https://github.com/ppy/osu/discussions/23599#discussioncomment-6300885.
This commit is contained in:
parent
fe2ca5cfef
commit
183777f8df
@ -381,6 +381,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
{
|
||||
buttons.Anchor = Anchor.BottomCentre;
|
||||
buttons.Origin = Anchor.BottomCentre;
|
||||
buttons.Y = Math.Min(0, ToLocalSpace(Parent.ScreenSpaceDrawQuad.BottomLeft).Y - DrawHeight);
|
||||
}
|
||||
else if (topExcess > bottomExcess)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user