1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 14:42:56 +08:00

Remove comment regarding inlined delegate

This commit is contained in:
Dean Herbert 2023-10-10 22:12:20 +09:00
parent 682aa06acf
commit e2e28ef0ca
No known key found for this signature in database

View File

@ -139,11 +139,7 @@ namespace osu.Game.Screens.Play.HUD
{
base.LoadComplete();
Current.BindValueChanged(v =>
{
// For some reason making the delegate inline here doesn't work correctly.
Scheduler.AddOnce(updateCurrent);
}, true);
Current.BindValueChanged(_ => Scheduler.AddOnce(updateCurrent), true);
BarLength.BindValueChanged(l => Width = l.NewValue, true);
BarHeight.BindValueChanged(_ => updatePath());