1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-01 02:31:17 +08:00

Fix click sounds potentially not working

This commit is contained in:
Joseph Madamba
2023-02-02 23:54:57 -08:00
Unverified
parent 77569058cb
commit f27bf3ca20
@@ -44,7 +44,7 @@ namespace osu.Game.Graphics.UserInterface
protected override bool OnClick(ClickEvent e)
{
if (buttons.Contains(e.Button) && Contains(e.ScreenSpaceMousePosition))
if (buttons.Contains(e.Button))
{
var channel = Enabled.Value ? sampleClick?.GetChannel() : sampleClickDisabled?.GetChannel();