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

fix pinned drawable comment test

This commit is contained in:
Gagah Pangeran Rosfatiputra 2021-08-14 00:17:45 +07:00
parent a710bbf6ae
commit 4494ff55e3
No known key found for this signature in database
GPG Key ID: 25F6F17FD29031E2

View File

@ -43,9 +43,7 @@ namespace osu.Game.Tests.Visual.Online
{
AddStep(description, () =>
{
if (description == "Pinned")
comment.Pinned = true;
comment.Pinned = description == "Pinned";
comment.Message = text;
container.Add(new DrawableComment(comment));
});