1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-30 15:43:00 +08:00
osu-lazer/osu.Game/Screens/OnlinePlay/Components/OverlinedPlaylistHeader.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
622 B
C#
Raw Normal View History

2020-12-03 16:59:39 +08:00
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
2022-06-17 15:37:17 +08:00
#nullable disable
2020-12-25 12:38:11 +08:00
using osu.Game.Online.Rooms;
2020-12-03 16:59:39 +08:00
namespace osu.Game.Screens.OnlinePlay.Components
2020-12-03 16:59:39 +08:00
{
public class OverlinedPlaylistHeader : OverlinedHeader
{
public OverlinedPlaylistHeader()
: base("Playlist")
{
}
protected override void LoadComplete()
{
base.LoadComplete();
2022-06-24 20:25:23 +08:00
Playlist.BindCollectionChanged((_, _) => Details.Value = Playlist.GetTotalDuration(), true);
2020-12-03 16:59:39 +08:00
}
}
}