mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 11:12:54 +08:00
Add back constructor for ruleset compatibility
This commit is contained in:
parent
6974c2d255
commit
47d577ec9c
@ -33,6 +33,12 @@ namespace osu.Game.Screens.Ranking.Statistics
|
||||
/// </summary>
|
||||
public readonly bool RequiresHitEvents;
|
||||
|
||||
[Obsolete("Use constructor which takes creation function instead.")] // Can be removed 20220803.
|
||||
public StatisticItem([NotNull] string name, [NotNull] Drawable content, [CanBeNull] Dimension dimension = null)
|
||||
: this(name, () => content, true, dimension)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="StatisticItem"/>, to be displayed inside a <see cref="StatisticRow"/> in the results screen.
|
||||
/// </summary>
|
||||
|
Loading…
Reference in New Issue
Block a user