Merge pull request #9087 from dobrykafe/pr-context-menu-after-rotation

Fix context menu showing up after canceling quad rotation
This commit is contained in:
Dennis Felsing 2024-09-30 22:18:52 +00:00 committed by GitHub
commit e8798a9e2f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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())
{