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:
parent
682aa06acf
commit
e2e28ef0ca
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user