1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 17:42:54 +08:00

Removed on click event for expanding the Mod Customisation Header.

This commit is contained in:
Fabep 2024-08-28 09:51:17 +02:00
parent 321e509f11
commit be0e2efda2

View File

@ -112,20 +112,6 @@ namespace osu.Game.Overlays.Mods
}, true);
}
protected override bool OnClick(ClickEvent e)
{
if (Enabled.Value)
{
ExpandedState.Value = ExpandedState.Value switch
{
ModCustomisationPanelState.Collapsed => ModCustomisationPanelState.Expanded,
_ => ModCustomisationPanelState.Collapsed
};
}
return base.OnClick(e);
}
private bool touchedThisFrame;
protected override bool OnTouchDown(TouchDownEvent e)