1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 08:52:55 +08:00

Fix tabs to match design (should not show pinhair line)

This commit is contained in:
Dean Herbert 2019-10-31 16:54:28 +09:00
parent fe93df7186
commit 4f04abf282

View File

@ -120,7 +120,7 @@ namespace osu.Game.Overlays.BeatmapSet
{
var isHoveredOrActive = IsHovered || Active.Value;
bar.ResizeHeightTo(isHoveredOrActive ? 4 : 1, 200, Easing.OutQuint);
bar.ResizeHeightTo(isHoveredOrActive ? 4 : 0, 200, Easing.OutQuint);
name.Colour = isHoveredOrActive ? colour.GrayE : colour.GrayC;
name.Font = name.Font.With(weight: Active.Value ? FontWeight.Bold : FontWeight.Regular);