1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 22:07:25 +08:00

Add references to web implementation wrt property used

This commit is contained in:
Bartłomiej Dach 2022-01-09 14:46:15 +01:00
parent 12c8243a9b
commit 2e9ba40ae2
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -28,6 +28,7 @@ namespace osu.Game.Overlays.Rankings.Tables
{
var background = base.CreateRowBackground(item);
// see: https://github.com/ppy/osu-web/blob/9de00a0b874c56893d98261d558d78d76259d81b/resources/views/multiplayer/rooms/_rankings_table.blade.php#L23
if (!item.User.Active)
background.Alpha = 0.5f;
@ -38,6 +39,7 @@ namespace osu.Game.Overlays.Rankings.Tables
{
var content = base.CreateRowContent(index, item);
// see: https://github.com/ppy/osu-web/blob/9de00a0b874c56893d98261d558d78d76259d81b/resources/views/multiplayer/rooms/_rankings_table.blade.php#L23
if (!item.User.Active)
{
foreach (var d in content)