Fix profile section tab control not absorbing input from behind

This commit is contained in:
Joehu 2020-09-16 12:00:27 -07:00
parent 93269606cd
commit 9063c60b9c
1 changed files with 5 additions and 0 deletions

View File

@ -8,6 +8,7 @@
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Graphics.UserInterface;
using osu.Framework.Input.Events;
using osu.Game.Graphics.Containers;
using osu.Game.Online.API.Requests;
using osu.Game.Overlays.Profile;
@ -176,6 +177,10 @@ private void load(OverlayColourProvider colourProvider)
AccentColour = colourProvider.Highlight1;
}
protected override bool OnClick(ClickEvent e) => true;
protected override bool OnHover(HoverEvent e) => true;
private class ProfileSectionTabItem : OverlayTabItem
{
public ProfileSectionTabItem(ProfileSection value)