mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-14 03:58:18 +00:00
Fix envelope points not clickable after opening bezier popup
Closes #8017.
This commit is contained in:
parent
ccdb7a2eaf
commit
f05bbc226a
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue