mirror of
https://github.com/Ed94/Cog.git
synced 2026-07-13 13:01:26 -07:00
CogEngine: improve plot events automatic row manangement
CogSample: plot Ability Activate/End event
This commit is contained in:
@@ -106,11 +106,6 @@ void FCogEngineWindow_Plots::RenderMenu()
|
||||
|
||||
if (ImGui::BeginMenu("Options"))
|
||||
{
|
||||
if (ImGui::MenuItem("Clear data"))
|
||||
{
|
||||
FCogDebugPlot::Clear();
|
||||
}
|
||||
|
||||
if (ImGui::MenuItem("Reset"))
|
||||
{
|
||||
FCogDebugPlot::Pause = false;
|
||||
@@ -154,6 +149,11 @@ void FCogEngineWindow_Plots::RenderMenu()
|
||||
ImGui::EndMenu();
|
||||
}
|
||||
|
||||
if (ImGui::MenuItem("Clear"))
|
||||
{
|
||||
FCogDebugPlot::Clear();
|
||||
}
|
||||
|
||||
FCogWindowWidgets::ToggleMenuButton(&FCogDebugPlot::Pause, "Pause", ImVec4(1.0f, 0.0f, 0.0f, 1.0f));
|
||||
|
||||
ImGui::EndMenuBar();
|
||||
|
||||
Reference in New Issue
Block a user