Rename PopupScreenTitle to ShearedOverlayHeader

This commit is contained in:
Dean Herbert
2022-04-20 15:50:57 +09:00
parent 8d31b0bc01
commit 1032dc235d
3 changed files with 11 additions and 11 deletions

View File

@ -22,7 +22,7 @@ namespace osu.Game.Overlays.Mods
/// <summary>
/// The overlay's header.
/// </summary>
protected PopupScreenTitle Header { get; private set; }
protected ShearedOverlayHeader Header { get; private set; }
/// <summary>
/// The overlay's footer.
@ -68,7 +68,7 @@ namespace osu.Game.Overlays.Mods
RelativeSizeAxes = Axes.Both,
Children = new Drawable[]
{
Header = new PopupScreenTitle
Header = new ShearedOverlayHeader
{
Anchor = Anchor.TopCentre,
Depth = float.MinValue,
@ -82,7 +82,7 @@ namespace osu.Game.Overlays.Mods
RelativeSizeAxes = Axes.Both,
Padding = new MarginPadding
{
Top = PopupScreenTitle.HEIGHT,
Top = ShearedOverlayHeader.HEIGHT,
Bottom = footer_height,
}
},