mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 19:03:08 +08:00
Add note about cursor hiding being potentially flaky
This commit is contained in:
parent
47a9b345eb
commit
0f01a855af
@ -48,6 +48,9 @@ namespace osu.Game.Rulesets.Osu.UI
|
|||||||
replayPlayer.AddSettings(new ReplayAnalysisSettings(Config));
|
replayPlayer.AddSettings(new ReplayAnalysisSettings(Config));
|
||||||
|
|
||||||
cursorHideEnabled = Config.GetBindable<bool>(OsuRulesetSetting.ReplayCursorHideEnabled);
|
cursorHideEnabled = Config.GetBindable<bool>(OsuRulesetSetting.ReplayCursorHideEnabled);
|
||||||
|
|
||||||
|
// I have little faith in this working (other things touch cursor visibility) but haven't broken it yet.
|
||||||
|
// Let's wait for someone to report an issue before spending too much time on it.
|
||||||
cursorHideEnabled.BindValueChanged(enabled => Playfield.Cursor.FadeTo(enabled.NewValue ? 0 : 1), true);
|
cursorHideEnabled.BindValueChanged(enabled => Playfield.Cursor.FadeTo(enabled.NewValue ? 0 : 1), true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user