Add chevron transition to `CommentRepliesButton`

This commit is contained in:
Joseph Madamba 2024-07-08 00:30:16 -07:00
parent 7dc901df11
commit 73d164e0d0
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ private void load()
background.Colour = colourProvider.Background2;
}
protected void SetIconDirection(bool upwards) => icon.ScaleTo(new Vector2(1, upwards ? -1 : 1));
protected void SetIconDirection(bool upwards) => icon.ScaleTo(upwards ? new Vector2(1f, -1f) : Vector2.One, 300, Easing.OutQuint);
public void ToggleTextVisibility(bool visible) => text.FadeTo(visible ? 1 : 0, 200, Easing.OutQuint);