osu/osu.Game/Screens/Play/PlayerSettings/PlayerSettingsGroup.cs

25 lines
649 B
C#
Raw Normal View History

// 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.
2018-04-13 09:19:50 +00:00
2018-10-02 03:02:47 +00:00
using osu.Framework.Input.Events;
using osu.Game.Overlays;
2018-04-13 09:19:50 +00:00
namespace osu.Game.Screens.Play.PlayerSettings
{
public class PlayerSettingsGroup : SettingsToolboxGroup
2018-04-13 09:19:50 +00:00
{
public PlayerSettingsGroup(string title)
: base(title)
2018-04-13 09:19:50 +00:00
{
}
2018-10-02 03:02:47 +00:00
protected override bool OnHover(HoverEvent e)
{
base.OnHover(e);
// Importantly, return true to correctly take focus away from PlayerLoader.
return true;
2018-04-13 09:19:50 +00:00
}
}
}