Skip to content

Commit

Permalink
Fix replay analysis overlay being affected by visibility impairing mods
Browse files Browse the repository at this point in the history
Closes #29748.
  • Loading branch information
bdach committed Sep 11, 2024
1 parent 4a39873 commit f38ae5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions osu.Game.Rulesets.Osu/UI/DrawableOsuRuleset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ private void load(ReplayPlayer? replayPlayer)
{
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);
Expand Down

0 comments on commit f38ae5f

Please sign in to comment.