Merge remote-tracking branch 'GSculerlor/master' into rework-selection-updates

This commit is contained in:
smoogipoo 2019-10-07 18:50:07 +09:00
commit a59e07948c

View File

@ -40,6 +40,11 @@ namespace osu.Game.Rulesets.Osu.UI.Cursor
private void load(OsuRulesetConfigManager config) private void load(OsuRulesetConfigManager config)
{ {
config?.BindWith(OsuRulesetSetting.ShowCursorTrail, showTrail); config?.BindWith(OsuRulesetSetting.ShowCursorTrail, showTrail);
}
protected override void LoadComplete()
{
base.LoadComplete();
showTrail.BindValueChanged(v => cursorTrail.FadeTo(v.NewValue ? 1 : 0, 200), true); showTrail.BindValueChanged(v => cursorTrail.FadeTo(v.NewValue ? 1 : 0, 200), true);
} }