Use new property to specify no tooltip, rather than passing only ruleset

This commit is contained in:
Dean Herbert
2022-06-24 13:59:17 +09:00
parent 129c907092
commit d9c1a9d71f
2 changed files with 4 additions and 3 deletions

View File

@ -274,8 +274,9 @@ namespace osu.Game.Overlays.BeatmapSet
Alpha = 0.5f
}
},
icon = new DifficultyIcon(beatmapInfo.Ruleset)
icon = new DifficultyIcon(beatmapInfo)
{
ShowTooltip = false,
Current = { Value = new StarDifficulty(beatmapInfo.StarRating, 0) },
Anchor = Anchor.Centre,
Origin = Anchor.Centre,