convert to method group

This commit is contained in:
chrisny286 2019-01-22 19:34:26 +01:00
parent 09a2b287f9
commit 3f96231b2f

View File

@ -96,7 +96,7 @@ namespace osu.Game.Graphics.UserInterface
{ {
updateTooltipText(Current.Value); updateTooltipText(Current.Value);
base.LoadComplete(); base.LoadComplete();
CurrentNumber.ValueChanged += _ => updateTooltipText(_); CurrentNumber.ValueChanged += updateTooltipText;
} }
protected override bool OnHover(HoverEvent e) protected override bool OnHover(HoverEvent e)