1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 19:42:55 +08:00

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) protected override bool OnClick(ClickEvent e)
{ {
if (editorInfo == null || Match is ConditionalTournamentMatch) if (editorInfo == null || Match is ConditionalTournamentMatch || e.Button != MouseButton.Left)
return false; return false;
Selected = true; Selected = true;