1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 16:27:26 +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, () => AddStep(description, () =>
{ {
if (description == "Pinned") comment.Pinned = description == "Pinned";
comment.Pinned = true;
comment.Message = text; comment.Message = text;
container.Add(new DrawableComment(comment)); container.Add(new DrawableComment(comment));
}); });