mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 03:02:54 +08:00
Confine available area for HUD components to excluse the song progress area
This commit is contained in:
parent
205c6606a7
commit
ace9fbc8d3
@ -78,6 +78,16 @@ namespace osu.Game.Screens.Play
|
||||
{
|
||||
FailingLayer = CreateFailingLayer(),
|
||||
visibilityContainer = new Container
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Child = new GridContainer
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Content = new[]
|
||||
{
|
||||
new Drawable[]
|
||||
{
|
||||
new Container
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Children = new Drawable[]
|
||||
@ -95,12 +105,25 @@ namespace osu.Game.Screens.Play
|
||||
ComboCounter = CreateComboCounter(),
|
||||
},
|
||||
},
|
||||
Progress = CreateProgress(),
|
||||
ComboCounter = CreateComboCounter(),
|
||||
ModDisplay = CreateModsContainer(),
|
||||
HitErrorDisplay = CreateHitErrorDisplayOverlay(),
|
||||
PlayerSettingsOverlay = CreatePlayerSettingsOverlay(),
|
||||
}
|
||||
},
|
||||
},
|
||||
new Drawable[]
|
||||
{
|
||||
Progress = CreateProgress(),
|
||||
}
|
||||
},
|
||||
RowDimensions = new[]
|
||||
{
|
||||
new Dimension(GridSizeMode.Distributed),
|
||||
new Dimension(GridSizeMode.AutoSize)
|
||||
}
|
||||
},
|
||||
},
|
||||
new FillFlowContainer
|
||||
{
|
||||
Anchor = Anchor.BottomRight,
|
||||
|
Loading…
Reference in New Issue
Block a user