Skip to content

Commit

Permalink
Add required ImPlot flags
Browse files Browse the repository at this point in the history
  • Loading branch information
ueshita committed Feb 26, 2024
1 parent 2b0ba9b commit 8c52de3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dev/Cpp/Viewer/GUI/efk.GUIManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2455,12 +2455,12 @@ void GUIManager::SetupPlotAxisTicks(PlotAxis axis, double vMin, double vMax, int

void GUIManager::PlotLine(const char16_t* label, const double* xValues, const double* yValues, int32_t count, int32_t offset)
{
ImPlot::PlotLine(utf8str<256>(label), xValues, yValues, count, offset);
ImPlot::PlotLine(utf8str<256>(label), xValues, yValues, count, ImPlotLineFlags_None, offset);
}

void GUIManager::PlotShaded(const char16_t* label, const double* xValues, const double* yValues, int32_t count, double yRef, int32_t offset)
{
ImPlot::PlotShaded(utf8str<256>(label), xValues, yValues, count, yRef, offset);
ImPlot::PlotShaded(utf8str<256>(label), xValues, yValues, count, yRef, ImPlotShadedFlags_None, offset);
}

void GUIManager::SetNextPlotLineStyle(const Vec4& color, float weight)
Expand Down

0 comments on commit 8c52de3

Please sign in to comment.