mirror of https://github.com/ppy/osu
Sanitise font sizes / weights
This commit is contained in:
parent
60fc02bb9b
commit
c4572ec265
|
@ -63,7 +63,7 @@ public LegacyKeyCounter(InputTrigger trigger)
|
|||
Origin = Anchor.Centre,
|
||||
Text = trigger.Name,
|
||||
Colour = textColour,
|
||||
Font = OsuFont.GetFont(size: 20),
|
||||
Font = OsuFont.GetFont(weight: FontWeight.SemiBold),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -88,7 +88,7 @@ protected override void Activate(bool forwardPlayback = true)
|
|||
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)
|
||||
|
|
Loading…
Reference in New Issue