GUI: draw reference line in arp macro

This commit is contained in:
tildearrow 2022-02-22 00:51:59 -05:00
parent 6d6d30cbf3
commit 61253d4558
1 changed files with 4 additions and 0 deletions

View File

@ -384,6 +384,10 @@ int PlotCustomEx(ImGuiPlotType plot_type, const char* label, float (*values_gett
bgColor);
}
if (blockMode) {
window->DrawList->AddLine(ImLerp(inner_bb.Min,inner_bb.Max,ImVec2(0.0f,histogram_zero_line_t)),ImLerp(inner_bb.Min,inner_bb.Max,ImVec2(1.0f,histogram_zero_line_t)),col_base);
}
for (int n = 0; n < res_w; n++)
{
const float t1 = t0 + t_step;