Skip to content

Commit

Permalink
Merge pull request ddnet#9087 from dobrykafe/pr-context-menu-after-ro…
Browse files Browse the repository at this point in the history
…tation

Fix context menu showing up after canceling quad rotation
  • Loading branch information
def- authored Sep 30, 2024
2 parents 054eb37 + 7564a06 commit e8798a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/editor/editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2295,7 +2295,7 @@ void CEditor::DoQuad(int LayerIndex, const std::shared_ptr<CLayerQuads> &pLayer,

s_Operation = OP_SELECT;
}
else if(Ui()->MouseButton(1))
else if(Ui()->MouseButtonClicked(1))
{
if(Input()->ShiftIsPressed())
{
Expand Down

0 comments on commit e8798a9

Please sign in to comment.