1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 05:17:25 +08:00
osu-lazer/osu.Game/Screens/Play/PlayerSettings/PlayerSettingsGroup.cs

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;
}
}
}