From 7564a065c2e25af9f2b0a3940dd4ec0ee97ffd95 Mon Sep 17 00:00:00 2001 From: dobrykafe Date: Mon, 30 Sep 2024 23:56:59 +0200 Subject: [PATCH] fix context menu showing up after canceling quad rotation --- src/game/editor/editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/editor/editor.cpp b/src/game/editor/editor.cpp index 99253317689..cb6f33a826d 100644 --- a/src/game/editor/editor.cpp +++ b/src/game/editor/editor.cpp @@ -2295,7 +2295,7 @@ void CEditor::DoQuad(int LayerIndex, const std::shared_ptr &pLayer, s_Operation = OP_SELECT; } - else if(Ui()->MouseButton(1)) + else if(Ui()->MouseButtonClicked(1)) { if(Input()->ShiftIsPressed()) {