mirror of
https://github.com/ddnet/ddnet.git
synced 2024-10-19 07:18:19 +00:00
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:
commit
e8798a9e2f
|
@ -2295,7 +2295,7 @@ void CEditor::DoQuad(int LayerIndex, const std::shared_ptr<CLayerQuads> &pLayer,
|
||||||
|
|
||||||
s_Operation = OP_SELECT;
|
s_Operation = OP_SELECT;
|
||||||
}
|
}
|
||||||
else if(Ui()->MouseButton(1))
|
else if(Ui()->MouseButtonClicked(1))
|
||||||
{
|
{
|
||||||
if(Input()->ShiftIsPressed())
|
if(Input()->ShiftIsPressed())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue