mirror of https://github.com/ppy/osu
Fix profile section tab control not absorbing input from behind
This commit is contained in:
parent
93269606cd
commit
9063c60b9c
|
@ -8,6 +8,7 @@
|
||||||
using osu.Framework.Graphics.Containers;
|
using osu.Framework.Graphics.Containers;
|
||||||
using osu.Framework.Graphics.Shapes;
|
using osu.Framework.Graphics.Shapes;
|
||||||
using osu.Framework.Graphics.UserInterface;
|
using osu.Framework.Graphics.UserInterface;
|
||||||
|
using osu.Framework.Input.Events;
|
||||||
using osu.Game.Graphics.Containers;
|
using osu.Game.Graphics.Containers;
|
||||||
using osu.Game.Online.API.Requests;
|
using osu.Game.Online.API.Requests;
|
||||||
using osu.Game.Overlays.Profile;
|
using osu.Game.Overlays.Profile;
|
||||||
|
@ -176,6 +177,10 @@ private void load(OverlayColourProvider colourProvider)
|
||||||
AccentColour = colourProvider.Highlight1;
|
AccentColour = colourProvider.Highlight1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected override bool OnClick(ClickEvent e) => true;
|
||||||
|
|
||||||
|
protected override bool OnHover(HoverEvent e) => true;
|
||||||
|
|
||||||
private class ProfileSectionTabItem : OverlayTabItem
|
private class ProfileSectionTabItem : OverlayTabItem
|
||||||
{
|
{
|
||||||
public ProfileSectionTabItem(ProfileSection value)
|
public ProfileSectionTabItem(ProfileSection value)
|
||||||
|
|
Loading…
Reference in New Issue