1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-18 17:33:12 +08:00

Made judgements always on and disabled follow paths again

This commit is contained in:
DavidBeh 2024-04-23 23:31:23 +02:00
parent 3a914b9337
commit f863ea30e1

View File

@ -13,6 +13,7 @@ using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Objects.Drawables;
using osu.Game.Rulesets.Osu.Objects;
using osu.Game.Rulesets.Osu.Objects.Drawables;
using osu.Game.Rulesets.Osu.UI;
using osu.Game.Rulesets.UI;
using osuTK;
@ -36,16 +37,11 @@ namespace osu.Game.Rulesets.Osu.Mods
MaxValue = 1.0f,
};
// Bindable Setting for Show Judgements
[SettingSource("Show Judgements", "Whether to show judgements or not.")]
public BindableBool ShowJudgements { get; } = new BindableBool(true);
public void ApplyToDrawableRuleset(DrawableRuleset<OsuHitObject> drawableRuleset)
{
// Hide judgment displays and follow points as they won't make any sense.
// Judgements can potentially be turned on in a future where they display at a position relative to their drawable counterpart.
drawableRuleset.Playfield.DisplayJudgements.Value = ShowJudgements.Value;
//(drawableRuleset.Playfield as OsuPlayfield)?.FollowPoints.Hide();
(drawableRuleset.Playfield as OsuPlayfield)?.FollowPoints.Hide();
}
public void Update(Playfield playfield)