mirror of
https://github.com/ppy/osu.git
synced 2024-12-16 14:22:55 +08:00
97db4856fc
Also ensure chat is hidden when social is displayed and vice-versa.
22 lines
586 B
C#
22 lines
586 B
C#
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
using osu.Framework.Allocation;
|
|
using osu.Game.Graphics;
|
|
|
|
namespace osu.Game.Overlays.Toolbar
|
|
{
|
|
internal class ToolbarSocialButton : ToolbarOverlayToggleButton
|
|
{
|
|
public ToolbarSocialButton()
|
|
{
|
|
Icon = FontAwesome.fa_users;
|
|
}
|
|
|
|
[BackgroundDependencyLoader]
|
|
private void load(SocialOverlay chat)
|
|
{
|
|
StateContainer = chat;
|
|
}
|
|
}
|
|
} |