mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Convert to readonly struct
and replace with constructor temporarily
This commit is contained in:
@ -28,11 +28,12 @@ namespace osu.Game.Overlays.Profile.Sections.Historical
|
||||
|
||||
protected override float GetDataPointHeight(long playCount) => playCount;
|
||||
|
||||
protected override UserGraphTooltipContent GetTooltipContent(DateTime date, long playCount) => new UserGraphTooltipContent
|
||||
protected override UserGraphTooltipContent GetTooltipContent(DateTime date, long playCount)
|
||||
{
|
||||
Name = tooltipCounterName,
|
||||
Count = playCount.ToLocalisableString("N0"),
|
||||
Time = date.ToLocalisableString("MMMM yyyy")
|
||||
};
|
||||
return new UserGraphTooltipContent(
|
||||
tooltipCounterName,
|
||||
playCount.ToLocalisableString("N0"),
|
||||
date.ToLocalisableString("MMMM yyyy"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user