1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 09:27:29 +08:00

Merge pull request #20095 from peppy/fix-bracket-riht-click-no-selection

Fix right-clicking a non-selected match in ladder view dismissing context menu
This commit is contained in:
Dan Balasescu 2022-09-07 14:56:23 +09:00 committed by GitHub
commit c42ae4be04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -280,7 +280,7 @@ namespace osu.Game.Tournament.Screens.Ladder.Components
protected override bool OnClick(ClickEvent e)
{
if (editorInfo == null || Match is ConditionalTournamentMatch)
if (editorInfo == null || Match is ConditionalTournamentMatch || e.Button != MouseButton.Left)
return false;
Selected = true;