1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 17:35:10 +08:00

Add note about cursor hiding being potentially flaky

This commit is contained in:
Dean Herbert 2024-09-05 15:30:42 +09:00
parent 47a9b345eb
commit 0f01a855af
No known key found for this signature in database

View File

@ -48,6 +48,9 @@ namespace osu.Game.Rulesets.Osu.UI
replayPlayer.AddSettings(new ReplayAnalysisSettings(Config));
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);
}
}