1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 21:02:54 +08:00

Add scale to allow legacy icons to display correctly sized

This commit is contained in:
Dean Herbert 2020-09-04 12:55:39 +09:00
parent d6b46936a0
commit 9d2dff2cb8

View File

@ -4,6 +4,7 @@
using System;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osuTK;
namespace osu.Game.Beatmaps
{
@ -23,7 +24,7 @@ namespace osu.Game.Beatmaps
public BeatmapStatistic()
{
#pragma warning disable 618
CreateIcon = () => new SpriteIcon { Icon = Icon };
CreateIcon = () => new SpriteIcon { Icon = Icon, Scale = new Vector2(0.6f) };
#pragma warning restore 618
}
}