From 54a3705bdbaa2c1aac1af0a20303a10f8ffe806f Mon Sep 17 00:00:00 2001 From: Andrei Zavatski Date: Sun, 16 Feb 2020 16:26:18 +0300 Subject: [PATCH] Remove font weight changes on selection --- osu.Game/Overlays/BeatmapListing/BeatmapSearchFilter.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/osu.Game/Overlays/BeatmapListing/BeatmapSearchFilter.cs b/osu.Game/Overlays/BeatmapListing/BeatmapSearchFilter.cs index 6cd941495f..acae5ce117 100644 --- a/osu.Game/Overlays/BeatmapListing/BeatmapSearchFilter.cs +++ b/osu.Game/Overlays/BeatmapListing/BeatmapSearchFilter.cs @@ -87,11 +87,7 @@ namespace osu.Game.Overlays.BeatmapListing protected override void OnDeactivated() => updateState(); - private void updateState() - { - text.Font = text.Font.With(weight: Active.Value ? FontWeight.Medium : FontWeight.Regular); - text.FadeColour(Active.Value ? Color4.White : getStateColour(), 200, Easing.OutQuint); - } + private void updateState() => text.FadeColour(Active.Value ? Color4.White : getStateColour(), 200, Easing.OutQuint); private Color4 getStateColour() => IsHovered ? colourProvider.Light1 : colourProvider.Light3; }