mirror of
https://github.com/ppy/osu
synced 2024-12-14 10:57:41 +00: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(),
|
FailingLayer = CreateFailingLayer(),
|
||||||
visibilityContainer = new Container
|
visibilityContainer = new Container
|
||||||
|
{
|
||||||
|
RelativeSizeAxes = Axes.Both,
|
||||||
|
Child = new GridContainer
|
||||||
|
{
|
||||||
|
RelativeSizeAxes = Axes.Both,
|
||||||
|
Content = new[]
|
||||||
|
{
|
||||||
|
new Drawable[]
|
||||||
|
{
|
||||||
|
new Container
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
@ -95,12 +105,25 @@ namespace osu.Game.Screens.Play
|
|||||||
ComboCounter = CreateComboCounter(),
|
ComboCounter = CreateComboCounter(),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Progress = CreateProgress(),
|
ComboCounter = CreateComboCounter(),
|
||||||
ModDisplay = CreateModsContainer(),
|
ModDisplay = CreateModsContainer(),
|
||||||
HitErrorDisplay = CreateHitErrorDisplayOverlay(),
|
HitErrorDisplay = CreateHitErrorDisplayOverlay(),
|
||||||
PlayerSettingsOverlay = CreatePlayerSettingsOverlay(),
|
PlayerSettingsOverlay = CreatePlayerSettingsOverlay(),
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
new Drawable[]
|
||||||
|
{
|
||||||
|
Progress = CreateProgress(),
|
||||||
|
}
|
||||||
|
},
|
||||||
|
RowDimensions = new[]
|
||||||
|
{
|
||||||
|
new Dimension(GridSizeMode.Distributed),
|
||||||
|
new Dimension(GridSizeMode.AutoSize)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
new FillFlowContainer
|
new FillFlowContainer
|
||||||
{
|
{
|
||||||
Anchor = Anchor.BottomRight,
|
Anchor = Anchor.BottomRight,
|
||||||
|
Loading…
Reference in New Issue
Block a user