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

Fix "spectate" button not always being clickable in online users list

This commit is contained in:
Dean Herbert 2023-12-23 21:21:34 +09:00
parent fc56188b95
commit 644c981673
No known key found for this signature in database

View File

@ -6,6 +6,7 @@
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics;
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Extensions;
@ -218,6 +219,7 @@ namespace osu.Game.Overlays.Dashboard
{
panel.Anchor = Anchor.TopCentre;
panel.Origin = Anchor.TopCentre;
panel.CanSpectate.Value = playingUsers.Contains(user.Id);
});
public partial class OnlineUserPanel : CompositeDrawable, IFilterable