Commit Graph

18 Commits

Author SHA1 Message Date
4c563232d6 HoverClickSounds should handle click event instead of MouseUp 2019-09-04 11:37:19 +09:00
e98059267d Improve xmldoc 2019-09-03 19:21:24 +09:00
299d528654 Simplify implementation 2019-09-03 19:20:23 +09:00
53c254c6a5 Replace Array.IndexOf() with Contains() 2019-09-02 19:01:36 +02:00
fc48b190fe Fix inaccurate xmldoc 2019-09-01 13:32:53 +02:00
c4dc34eefd Consolidate HoverClickSounds constructors
As suggested in review, merge both HoverClickSounds constructors into
one accepting optional arguments. Due to existing usages the parameter
is added as second and supplied by name in ModButton.
2019-09-01 13:10:11 +02:00
658e0edc3e Handle other button clicks in HoverClickSounds
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.
2019-08-31 20:16:16 +02:00
4ca34bd5e8 Update osu! in line with audio subsystem refactor 2019-05-28 17:06:01 +09:00
26d53d06a9 Fix remaining issues 2019-02-28 13:31:40 +09:00
8617aaa2a7 Update licence header (and remove year) 2019-01-24 17:43:03 +09:00
99fc04c8af Change signature to new event handler 2018-10-02 12:02:47 +09:00
03084aa04b Revert async changes 2018-08-31 07:07:10 +09:00
e7a5816d27 Use GetAsync for all samples 2018-08-27 17:30:16 +09:00
0f37758314 Update framework 2018-07-21 16:21:53 +09:00
32a74f95a5 Normalize all the line endings 2018-04-13 18:26:38 +09:00
37d393bca0 Update licence headers 2018-01-05 20:21:19 +09:00
880418fd0d Split out click and hover sound layers 2017-11-26 17:21:22 +09:00
ac7e373f40 Add hover/click sound effects to more stuff everywhere 2017-11-26 17:21:21 +09:00