Fix tournament match handling right click to select itself, dismissing the context menu

This commit is contained in:
Dean Herbert 2022-09-02 18:14:47 +09:00
parent 7364173fa9
commit 8bfaa2a51f

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;