1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-22 03:31:54 +08:00

Merge pull request #28083 from bdach/beatmap-attribute-text-breakage

Fix `BeatmapAttributeText` breaking due to enum serialisation woes
This commit is contained in:
Dean Herbert
2024-05-03 21:18:26 +08:00
committed by GitHub
Unverified
@@ -125,6 +125,8 @@ namespace osu.Game.Skinning.Components
protected override void SetFont(FontUsage font) => text.Font = font.With(size: 40);
}
// WARNING: DO NOT ADD ANY VALUES TO THIS ENUM ANYWHERE ELSE THAN AT THE END.
// Doing so will break existing user skins.
public enum BeatmapAttribute
{
CircleSize,
@@ -134,11 +136,11 @@ namespace osu.Game.Skinning.Components
StarRating,
Title,
Artist,
Source,
DifficultyName,
Creator,
Length,
RankedStatus,
BPM,
Source,
}
}