Make room participants into a bindable list

This commit is contained in:
smoogipoo
2020-02-13 18:59:15 +09:00
parent 08d0a08d54
commit bce9c8f3f3
5 changed files with 28 additions and 20 deletions

View File

@ -2,7 +2,6 @@
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Containers;
@ -35,7 +34,7 @@ namespace osu.Game.Screens.Multi
protected Bindable<PlaylistItem> CurrentItem { get; private set; }
[Resolved(typeof(Room))]
protected Bindable<IEnumerable<User>> Participants { get; private set; }
protected BindableList<User> Participants { get; private set; }
[Resolved(typeof(Room))]
protected Bindable<int> ParticipantCount { get; private set; }