mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 15:47:26 +08:00
Use lambda spec for method
This commit is contained in:
parent
cb66ecdbeb
commit
2251bf3bcb
@ -28,12 +28,10 @@ namespace osu.Game.Overlays.Profile.Sections.Historical
|
||||
|
||||
protected override float GetDataPointHeight(long playCount) => playCount;
|
||||
|
||||
protected override UserGraphTooltipContent GetTooltipContent(DateTime date, long playCount)
|
||||
{
|
||||
return new UserGraphTooltipContent(
|
||||
protected override UserGraphTooltipContent GetTooltipContent(DateTime date, long playCount) =>
|
||||
new UserGraphTooltipContent(
|
||||
tooltipCounterName,
|
||||
playCount.ToLocalisableString("N0"),
|
||||
date.ToLocalisableString("MMMM yyyy"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user