From d34c5267172f9bc923ff68ccf3259d0a39cec165 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Mon, 4 Aug 2025 18:30:08 +0900 Subject: [PATCH] Avoid reveal background triggering when more than left mouse button is involved Closes https://github.com/ppy/osu/issues/34393. --- osu.Game/Screens/SelectV2/SongSelect.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Screens/SelectV2/SongSelect.cs b/osu.Game/Screens/SelectV2/SongSelect.cs index ed8555c004..26e835cdfd 100644 --- a/osu.Game/Screens/SelectV2/SongSelect.cs +++ b/osu.Game/Screens/SelectV2/SongSelect.cs @@ -849,7 +849,7 @@ namespace osu.Game.Screens.SelectV2 // For simplicity, disable this functionality on mobile. bool isTouchInput = e.CurrentState.Mouse.LastSource is ISourcedFromTouch; - if (e.Button == MouseButton.Left && !isTouchInput && mouseDownPriority) + if (e.PressedButtons.SequenceEqual([MouseButton.Left]) && !isTouchInput && mouseDownPriority) { revealingBackground = Scheduler.AddDelayed(() => {