1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 09:17:51 +08:00

Remove masking on song bar

Turns out this breaks when a border style is applied for picks/bans, and it wasn't doing much for visuals anyway.
This commit is contained in:
Dean Herbert 2023-08-21 15:33:58 +09:00
parent 5009fd3794
commit 1067769b24

View File

@ -234,7 +234,7 @@ namespace osu.Game.Tournament.Components
}
}
},
new UnmaskedTournamentBeatmapPanel(beatmap)
new TournamentBeatmapPanel(beatmap)
{
RelativeSizeAxes = Axes.X,
Width = 0.5f,
@ -277,18 +277,4 @@ namespace osu.Game.Tournament.Components
}
}
}
internal partial class UnmaskedTournamentBeatmapPanel : TournamentBeatmapPanel
{
public UnmaskedTournamentBeatmapPanel(IBeatmapInfo? beatmap, string mod = "")
: base(beatmap, mod)
{
}
[BackgroundDependencyLoader]
private void load()
{
Masking = false;
}
}
}