mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Split out simple DifficultyIcon
with no calculation overhead and update usages
This commit is contained in:
@ -274,8 +274,9 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
Alpha = 0.5f
|
||||
}
|
||||
},
|
||||
icon = new DifficultyIcon(beatmapInfo, shouldShowTooltip: false)
|
||||
icon = new DifficultyIcon(beatmapInfo.Ruleset)
|
||||
{
|
||||
Current = { Value = new StarDifficulty(beatmapInfo.StarRating, 0) },
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre,
|
||||
Size = new Vector2(size - tile_icon_padding * 2),
|
||||
|
Reference in New Issue
Block a user