mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 19:22:56 +08:00
CI fix
This commit is contained in:
parent
8239f21cad
commit
d20a860879
@ -74,7 +74,7 @@ namespace osu.Game.Overlays.Comments
|
||||
{
|
||||
c.ParentComment = comment;
|
||||
});
|
||||
drawableComment.OnLoadComplete += loaded => ((DrawableComment)loaded).AddReplies(children.Select(c => createDrawableComment(c)));
|
||||
drawableComment.OnLoadComplete += loaded => ((DrawableComment)loaded).AddReplies(children.Select(createDrawableComment));
|
||||
}
|
||||
|
||||
if (comment.IsTopLevel)
|
||||
@ -104,7 +104,7 @@ namespace osu.Game.Overlays.Comments
|
||||
|
||||
uniqueComments.ForEach(c => c.ParentComment = drawableComment.Comment);
|
||||
|
||||
drawableComment.AddReplies(uniqueComments.Select(comment => createDrawableComment(comment)));
|
||||
drawableComment.AddReplies(uniqueComments.Select(createDrawableComment));
|
||||
}
|
||||
|
||||
private DrawableComment createDrawableComment(Comment comment) => new DrawableComment(comment)
|
||||
|
Loading…
Reference in New Issue
Block a user