mirror of
https://github.com/ppy/osu.git
synced 2024-12-31 05:32:58 +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;
|
|
}
|
|
}
|
|
}
|