1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-18 10:32:56 +08:00

Fix Aquatico font lookups

This commit is contained in:
Dean Herbert 2019-05-25 22:11:11 +09:00
parent 601b25f05e
commit b9f6372c3f

View File

@ -73,7 +73,7 @@ namespace osu.Game.Graphics
string weightString = weight.ToString();
// Only exo has an explicit "regular" weight, other fonts do not
if (family != GetFamilyString(Typeface.Exo) && weight == FontWeight.Regular)
if (weight == FontWeight.Regular && family != GetFamilyString(Typeface.Exo) && family != GetFamilyString(Typeface.Aquatico))
weightString = string.Empty;
return weightString;