fix an issue that Value/Curve destroys an editor of Node/Network
This commit is contained in:
parent
61a97e6a32
commit
27a28d6c0d
@ -386,8 +386,8 @@ void Curve::UpdateCurveEditorWindow(const ImVec2& size) noexcept {
|
||||
const auto pad = ImGui::GetStyle().WindowPadding / 2;
|
||||
ImGui::SetCursorPos(pad);
|
||||
UpdateCurveEditor(ImGui::GetContentRegionAvail()-pad*2);
|
||||
ImGui::EndChild();
|
||||
}
|
||||
ImGui::EndChild();
|
||||
}
|
||||
void Curve::UpdateCurveEditor(const ImVec2& sz) noexcept {
|
||||
const auto& io = ImGui::GetIO();
|
||||
|
Loading…
x
Reference in New Issue
Block a user