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

Fix replay analysis overlay being affected by visibility impairing mods

Closes https://github.com/ppy/osu/issues/29748.
This commit is contained in:
Bartłomiej Dach 2024-09-11 15:55:02 +02:00
parent 4a39873e2a
commit f38ae5f239
No known key found for this signature in database

View File

@ -46,6 +46,7 @@ namespace osu.Game.Rulesets.Osu.UI
{
ReplayAnalysisOverlay analysisOverlay;
PlayfieldAdjustmentContainer.Add(analysisOverlay = new ReplayAnalysisOverlay(replayPlayer.Score.Replay));
Overlays.Add(analysisOverlay.CreateProxy().With(p => p.Depth = float.NegativeInfinity));
replayPlayer.AddSettings(new ReplayAnalysisSettings(Config));
cursorHideEnabled = Config.GetBindable<bool>(OsuRulesetSetting.ReplayCursorHideEnabled);