mirror of
https://github.com/ppy/osu
synced 2025-03-05 19:11:52 +00:00
As suggested in review, remove previously introduced HoverMouseUpSounds and instead change effect playing logic in HoverClickSounds by moving it out of OnClick() to OnMouseUp(). Users of the class can either use the existing constructor to play the effect only on left click or use the newly introduced constructor with the MouseButton[] parameter to specify which button clicks should trigger the sound. |
||
---|---|---|
.. | ||
Sections | ||
ModButton.cs | ||
ModButtonEmpty.cs | ||
ModSection.cs | ||
ModSelectOverlay.cs |