mirror of
https://github.com/ppy/osu
synced 2024-12-14 02:46:27 +00:00
Merge remote-tracking branch 'GSculerlor/master' into rework-selection-updates
This commit is contained in:
commit
a59e07948c
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user