mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 09:32:55 +08:00
Make selected tab items more bold
This commit is contained in:
parent
938658649e
commit
458fe382ed
@ -81,7 +81,7 @@ namespace osu.Game.Overlays.BeatmapListing
|
||||
private void updateState()
|
||||
{
|
||||
text.FadeColour(IsHovered ? colourProvider.Light1 : GetStateColour(), 200, Easing.OutQuint);
|
||||
text.Font = text.Font.With(weight: Active.Value ? FontWeight.SemiBold : FontWeight.Regular);
|
||||
text.Font = text.Font.With(weight: Active.Value ? FontWeight.Bold : FontWeight.Regular);
|
||||
}
|
||||
|
||||
protected virtual Color4 GetStateColour() => Active.Value ? colourProvider.Content1 : colourProvider.Light2;
|
||||
|
Loading…
Reference in New Issue
Block a user