mirror of https://github.com/ppy/osu
Fix replay analysis overlay being affected by visibility impairing mods
Closes https://github.com/ppy/osu/issues/29748.
This commit is contained in:
parent
4a39873e2a
commit
f38ae5f239
|
@ -46,6 +46,7 @@ private void load(ReplayPlayer? replayPlayer)
|
||||||
{
|
{
|
||||||
ReplayAnalysisOverlay analysisOverlay;
|
ReplayAnalysisOverlay analysisOverlay;
|
||||||
PlayfieldAdjustmentContainer.Add(analysisOverlay = new ReplayAnalysisOverlay(replayPlayer.Score.Replay));
|
PlayfieldAdjustmentContainer.Add(analysisOverlay = new ReplayAnalysisOverlay(replayPlayer.Score.Replay));
|
||||||
|
Overlays.Add(analysisOverlay.CreateProxy().With(p => p.Depth = float.NegativeInfinity));
|
||||||
replayPlayer.AddSettings(new ReplayAnalysisSettings(Config));
|
replayPlayer.AddSettings(new ReplayAnalysisSettings(Config));
|
||||||
|
|
||||||
cursorHideEnabled = Config.GetBindable<bool>(OsuRulesetSetting.ReplayCursorHideEnabled);
|
cursorHideEnabled = Config.GetBindable<bool>(OsuRulesetSetting.ReplayCursorHideEnabled);
|
||||||
|
|
Loading…
Reference in New Issue