1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 15:43:22 +08:00

Update comment vote pill in line with web

This commit is contained in:
Joseph Madamba 2023-04-02 18:15:00 -07:00
parent bc0538a7f6
commit 63ea17f10e
No known key found for this signature in database
GPG Key ID: 8B746C7BDDF0BD76

View File

@ -132,11 +132,10 @@ namespace osu.Game.Overlays.Comments
}, },
sideNumber = new OsuSpriteText sideNumber = new OsuSpriteText
{ {
Anchor = Anchor.CentreLeft, Anchor = Anchor.TopCentre,
Origin = Anchor.CentreRight, Origin = Anchor.BottomCentre,
Text = "+1", Text = "+1",
Font = OsuFont.GetFont(size: 14), Font = OsuFont.GetFont(size: 14),
Margin = new MarginPadding { Right = 3 },
Alpha = 0, Alpha = 0,
}, },
votesCounter = new OsuSpriteText votesCounter = new OsuSpriteText
@ -189,7 +188,7 @@ namespace osu.Game.Overlays.Comments
else else
sideNumber.FadeTo(IsHovered ? 1 : 0); sideNumber.FadeTo(IsHovered ? 1 : 0);
borderContainer.BorderThickness = IsHovered ? 3 : 0; borderContainer.BorderThickness = IsHovered ? 2 : 0;
} }
private void onHoverAction() private void onHoverAction()