mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Made medium the default font weight
This commit is contained in:
@ -19,7 +19,7 @@ namespace osu.Game.Graphics
|
||||
return new FontUsage(usage, familyString, size, weightString, italics, fixedWidth);
|
||||
}
|
||||
|
||||
public static FontUsage GetFont(Typeface typeface = Typeface.Exo, float size = DEFAULT_FONT_SIZE, FontWeight weight = FontWeight.Regular, bool italics = false, bool fixedWidth = false)
|
||||
public static FontUsage GetFont(Typeface typeface = Typeface.Exo, float size = DEFAULT_FONT_SIZE, FontWeight weight = FontWeight.Medium, bool italics = false, bool fixedWidth = false)
|
||||
=> new FontUsage(getFamilyString(typeface), size, getWeightString(typeface, weight), italics, fixedWidth);
|
||||
|
||||
private static string getFamilyString(Typeface typeface)
|
||||
|
Reference in New Issue
Block a user