mirror of
https://github.com/ppy/osu.git
synced 2026-05-18 22:30:53 +08:00
Add scale to allow legacy icons to display correctly sized
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user