mirror of
https://github.com/osukey/osukey.git
synced 2025-05-29 17:37:23 +09:00
Fix room title in the breadcrumbs
This commit is contained in:
parent
1c2450a95a
commit
17fdfc15d9
@ -137,7 +137,7 @@ namespace osu.Game.Screens.Multi.Lounge
|
|||||||
|
|
||||||
currentRoom.Value = room;
|
currentRoom.Value = room;
|
||||||
|
|
||||||
this.Push(new MatchSubScreen(s => pushGameplayScreen?.Invoke(s)));
|
this.Push(new MatchSubScreen(room, s => pushGameplayScreen?.Invoke(s)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -23,7 +23,7 @@ namespace osu.Game.Screens.Multi.Match
|
|||||||
{
|
{
|
||||||
public override bool AllowBeatmapRulesetChange => false;
|
public override bool AllowBeatmapRulesetChange => false;
|
||||||
|
|
||||||
public override string Title => roomId?.Value == null ? "New room" : name.Value;
|
public override string Title { get; }
|
||||||
|
|
||||||
public override string ShortTitle => "room";
|
public override string ShortTitle => "room";
|
||||||
|
|
||||||
@ -36,8 +36,10 @@ namespace osu.Game.Screens.Multi.Match
|
|||||||
[Resolved(typeof(Room), nameof(Room.Playlist))]
|
[Resolved(typeof(Room), nameof(Room.Playlist))]
|
||||||
private BindableList<PlaylistItem> playlist { get; set; }
|
private BindableList<PlaylistItem> playlist { get; set; }
|
||||||
|
|
||||||
public MatchSubScreen(Action<Screen> pushGameplayScreen)
|
public MatchSubScreen(Room room, Action<Screen> pushGameplayScreen)
|
||||||
{
|
{
|
||||||
|
Title = room.RoomID.Value == null ? "New room" : room.Name;
|
||||||
|
|
||||||
InternalChild = new Match(pushGameplayScreen)
|
InternalChild = new Match(pushGameplayScreen)
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user