mirror of
https://github.com/ppy/osu.git
synced 2024-11-18 11:12:57 +08:00
25 lines
649 B
C#
25 lines
649 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.Framework.Input.Events;
|
|
using osu.Game.Overlays;
|
|
|
|
namespace osu.Game.Screens.Play.PlayerSettings
|
|
{
|
|
public class PlayerSettingsGroup : SettingsToolboxGroup
|
|
{
|
|
public PlayerSettingsGroup(string title)
|
|
: base(title)
|
|
{
|
|
}
|
|
|
|
protected override bool OnHover(HoverEvent e)
|
|
{
|
|
base.OnHover(e);
|
|
|
|
// Importantly, return true to correctly take focus away from PlayerLoader.
|
|
return true;
|
|
}
|
|
}
|
|
}
|