mirror of
https://github.com/osukey/osukey.git
synced 2025-05-12 00:57:21 +09:00
Default Type to Title, use ToLower for the screen type title.
This commit is contained in:
parent
74c52e0a7c
commit
ff93a54a64
@ -86,7 +86,7 @@ namespace osu.Game.Screens.Multi
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
breadcrumbs.Current.ValueChanged += s => screenType.Text = ((MultiplayerScreen)s).Type;
|
breadcrumbs.Current.ValueChanged += s => screenType.Text = ((MultiplayerScreen)s).Type.ToLower();
|
||||||
breadcrumbs.Current.TriggerChange();
|
breadcrumbs.Current.TriggerChange();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -25,7 +25,6 @@ namespace osu.Game.Screens.Multi.Screens.Lounge
|
|||||||
protected readonly FillFlowContainer<DrawableRoom> RoomsContainer;
|
protected readonly FillFlowContainer<DrawableRoom> RoomsContainer;
|
||||||
protected readonly RoomInspector Inspector;
|
protected readonly RoomInspector Inspector;
|
||||||
|
|
||||||
public override string Type => "lounge";
|
|
||||||
public override string Title => "Lounge";
|
public override string Title => "Lounge";
|
||||||
|
|
||||||
protected override Container<Drawable> TransitionContent => content;
|
protected override Container<Drawable> TransitionContent => content;
|
||||||
|
@ -18,7 +18,7 @@ namespace osu.Game.Screens.Multi.Screens
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// The type to display in the title of the <see cref="Header"/>.
|
/// The type to display in the title of the <see cref="Header"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public abstract string Type { get; }
|
public virtual string Type => Title;
|
||||||
|
|
||||||
protected override void OnEntering(Screen last)
|
protected override void OnEntering(Screen last)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user