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