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:
parent
f0b2176c30
commit
ef443b0b5d
@ -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]
|
||||||
|
Loading…
Reference in New Issue
Block a user