1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-17 10:23:21 +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); }, 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; private bool touchedThisFrame;
protected override bool OnTouchDown(TouchDownEvent e) protected override bool OnTouchDown(TouchDownEvent e)