mirror of
https://github.com/ppy/osu
synced 2025-01-09 23:59:44 +00:00
23 lines
599 B
C#
23 lines
599 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.Multiplayer;
|
||
|
|
||
|
namespace osu.Game.Screens.Multi.Components
|
||
|
{
|
||
|
public class OverlinedPlaylistHeader : OverlinedHeader
|
||
|
{
|
||
|
public OverlinedPlaylistHeader()
|
||
|
: base("Playlist")
|
||
|
{
|
||
|
}
|
||
|
|
||
|
protected override void LoadComplete()
|
||
|
{
|
||
|
base.LoadComplete();
|
||
|
|
||
|
Playlist.BindCollectionChanged((_, __) => Details.Value = Playlist.GetTotalDuration());
|
||
|
}
|
||
|
}
|
||
|
}
|