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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user