mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 00:02:54 +08:00
658e0edc3e
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 |