1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 23:52:57 +08:00

Fix keyboard navigation at multiplayer lounge not iterating in correct order

This commit is contained in:
Dean Herbert 2021-07-26 13:22:11 +09:00
parent 971a67c669
commit 3770193ede

View File

@ -27,7 +27,8 @@ namespace osu.Game.Screens.OnlinePlay.Lounge.Components
private readonly IBindableList<Room> rooms = new BindableList<Room>();
private readonly FillFlowContainer<DrawableRoom> roomFlow;
public IReadOnlyList<DrawableRoom> Rooms => roomFlow;
public IReadOnlyList<DrawableRoom> Rooms => roomFlow.FlowingChildren.Cast<DrawableRoom>().ToArray();
[Resolved(CanBeNull = true)]
private Bindable<FilterCriteria> filter { get; set; }