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:
parent
321e509f11
commit
be0e2efda2
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user