Fix envelope points not clickable after opening bezier popup

Closes #8017.
This commit is contained in:
Robert Müller 2024-03-21 21:12:31 +01:00
parent ccdb7a2eaf
commit f05bbc226a

View file

@ -7047,6 +7047,7 @@ void CEditor::RenderEnvelopeEditor(CUIRect View)
ShowPopupEnvPoint(); ShowPopupEnvPoint();
} }
Ui()->SetActiveItem(nullptr); Ui()->SetActiveItem(nullptr);
s_Operation = EEnvelopeEditorOp::OP_NONE;
} }
} }
else if(!Ui()->MouseButton(0)) else if(!Ui()->MouseButton(0))
@ -7179,6 +7180,7 @@ void CEditor::RenderEnvelopeEditor(CUIRect View)
ShowPopupEnvPoint(); ShowPopupEnvPoint();
} }
Ui()->SetActiveItem(nullptr); Ui()->SetActiveItem(nullptr);
s_Operation = EEnvelopeEditorOp::OP_NONE;
} }
} }
else if(!Ui()->MouseButton(0)) else if(!Ui()->MouseButton(0))