mirror of
https://github.com/ppy/osu.git
synced 2024-11-16 15:37:44 +08:00
23 lines
614 B
C#
23 lines
614 B
C#
// 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.
|
|
|
|
using osu.Game.Online.Rooms;
|
|
|
|
namespace osu.Game.Screens.OnlinePlay.Components
|
|
{
|
|
public partial class OverlinedPlaylistHeader : OverlinedHeader
|
|
{
|
|
public OverlinedPlaylistHeader()
|
|
: base("Playlist")
|
|
{
|
|
}
|
|
|
|
protected override void LoadComplete()
|
|
{
|
|
base.LoadComplete();
|
|
|
|
Playlist.BindCollectionChanged((_, _) => Details.Value = Playlist.GetTotalDuration(), true);
|
|
}
|
|
}
|
|
}
|