1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-02 01:10:20 +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
Unverified
parent 321e509f11
commit be0e2efda2
@@ -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)