diff --git a/src/game/editor/editor.cpp b/src/game/editor/editor.cpp index 382e376cf..7d7eef8af 100644 --- a/src/game/editor/editor.cpp +++ b/src/game/editor/editor.cpp @@ -6748,7 +6748,7 @@ void CEditor::RenderEnvelopeEditor(CUIRect View) { static SPopupMenuId s_PopupEnvPointId; const auto &&ShowPopupEnvPoint = [&]() { - UI()->DoPopupMenu(&s_PopupEnvPointId, UI()->MouseX(), UI()->MouseY(), 150, 56 + (pEnvelope->GetChannels() == 4 ? 16.0f : 0.0f), this, PopupEnvPoint); + UI()->DoPopupMenu(&s_PopupEnvPointId, UI()->MouseX(), UI()->MouseY(), 150, 56 + (pEnvelope->GetChannels() == 4 && !IsTangentSelected() ? 16.0f : 0.0f), this, PopupEnvPoint); }; if(s_Operation == EEnvelopeEditorOp::OP_NONE) diff --git a/src/game/editor/popups.cpp b/src/game/editor/popups.cpp index 80c36a53a..daca7ab54 100644 --- a/src/game/editor/popups.cpp +++ b/src/game/editor/popups.cpp @@ -1360,7 +1360,7 @@ CUI::EPopupMenuFunctionResult CEditor::PopupEnvPoint(void *pContext, CUIRect Vie std::shared_ptr pEnvelope = pEditor->m_Map.m_vpEnvelopes[pEditor->m_SelectedEnvelope]; - if(pEnvelope->GetChannels() == 4) + if(pEnvelope->GetChannels() == 4 && !pEditor->IsTangentSelected()) { View.HSplitTop(RowHeight, &Row, &View); View.HSplitTop(4.0f, nullptr, &View);