1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:37:28 +08:00

Scale backbutton along with screens

This commit is contained in:
smoogipoo 2019-06-25 17:16:38 +09:00
parent 8c96e4c1fa
commit f53d2fbe76

View File

@ -401,16 +401,15 @@ namespace osu.Game
Children = new Drawable[]
{
screenStack = new OsuScreenStack { RelativeSizeAxes = Axes.Both },
backButton = new BackButton
{
Anchor = Anchor.BottomLeft,
Origin = Anchor.BottomLeft,
Alpha = 0,
},
logoContainer = new Container { RelativeSizeAxes = Axes.Both },
}
},
backButton = new BackButton
{
Anchor = Anchor.BottomLeft,
Origin = Anchor.BottomLeft,
Alpha = 0,
Action = screenStack.Exit
},
overlayContent = new Container { RelativeSizeAxes = Axes.Both },
rightFloatingOverlayContent = new Container { RelativeSizeAxes = Axes.Both },
leftFloatingOverlayContent = new Container { RelativeSizeAxes = Axes.Both },