1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-02 23:41:00 +08:00

Fix cursor trail appearing regardless of the setting in replays (#6288)

Fix cursor trail appearing regardless of the setting in replays
This commit is contained in:
Dean Herbert
2019-10-07 12:32:22 +08:00
committed by GitHub
Unverified
@@ -40,6 +40,11 @@ namespace osu.Game.Rulesets.Osu.UI.Cursor
private void load(OsuRulesetConfigManager config)
{
config?.BindWith(OsuRulesetSetting.ShowCursorTrail, showTrail);
}
protected override void LoadComplete()
{
base.LoadComplete();
showTrail.BindValueChanged(v => cursorTrail.FadeTo(v.NewValue ? 1 : 0, 200), true);
}