mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-19 17:14:18 +00:00
Merge pull request #8137 from Robyt3/Editor-Envelope-Bezier-Popup-Fix
Fix envelope points not clickable after opening bezier popup
This commit is contained in:
commit
96889c8d41
|
@ -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