1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-17 02:12:56 +08:00

Hide pinned comment replies initially to match web

This commit is contained in:
Joseph Madamba 2024-08-28 23:00:16 -07:00
parent f0b2176c30
commit ef443b0b5d

View File

@ -47,7 +47,7 @@ namespace osu.Game.Overlays.Comments
public readonly BindableList<DrawableComment> Replies = new BindableList<DrawableComment>(); public readonly BindableList<DrawableComment> Replies = new BindableList<DrawableComment>();
private readonly BindableBool childrenExpanded = new BindableBool(true); private readonly BindableBool childrenExpanded;
private int currentPage; private int currentPage;
@ -92,6 +92,8 @@ namespace osu.Game.Overlays.Comments
{ {
Comment = comment; Comment = comment;
Meta = meta; Meta = meta;
childrenExpanded = new BindableBool(!comment.Pinned);
} }
[BackgroundDependencyLoader] [BackgroundDependencyLoader]