mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Use lambda spec for method
This commit is contained in:
@ -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"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user