mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 18:23:04 +08:00
Add scale to allow legacy icons to display correctly sized
This commit is contained in:
parent
d6b46936a0
commit
9d2dff2cb8
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user