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