mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Centralise fetching of overlay component titles and textures
This commit is contained in:
@ -12,6 +12,8 @@ namespace osu.Game.Overlays
|
||||
{
|
||||
public abstract class OverlayHeader : Container
|
||||
{
|
||||
public OverlayTitle Title { get; }
|
||||
|
||||
private float contentSidePadding;
|
||||
|
||||
/// <summary>
|
||||
@ -73,7 +75,7 @@ namespace osu.Game.Overlays
|
||||
AutoSizeAxes = Axes.Y,
|
||||
Children = new[]
|
||||
{
|
||||
CreateTitle().With(title =>
|
||||
Title = CreateTitle().With(title =>
|
||||
{
|
||||
title.Anchor = Anchor.CentreLeft;
|
||||
title.Origin = Anchor.CentreLeft;
|
||||
|
Reference in New Issue
Block a user