1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 12:17:26 +08:00

Sanitise font sizes / weights

This commit is contained in:
Dean Herbert 2024-08-06 15:17:43 +09:00
parent 60fc02bb9b
commit c4572ec265
No known key found for this signature in database

View File

@ -63,7 +63,7 @@ namespace osu.Game.Skinning
Origin = Anchor.Centre,
Text = trigger.Name,
Colour = textColour,
Font = OsuFont.GetFont(size: 20),
Font = OsuFont.GetFont(weight: FontWeight.SemiBold),
},
},
}
@ -88,7 +88,7 @@ namespace osu.Game.Skinning
keyContainer.ScaleTo(0.75f, transition_duration, Easing.Out);
keySprite.Colour = ActiveColour;
overlayKeyText.Text = CountPresses.Value.ToString();
overlayKeyText.Font = overlayKeyText.Font.With(weight: FontWeight.Bold);
overlayKeyText.Font = overlayKeyText.Font.With(weight: FontWeight.SemiBold);
}
protected override void Deactivate(bool forwardPlayback = true)