mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 01:02:56 +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:
commit
0ebc5d0ffb
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user