Reduce number of max plot probes per column.

This commit is contained in:
Bartosz Taudul 2019-03-22 20:11:10 +01:00
parent ff6034dfbf
commit e6baee2bf9

View File

@ -3683,7 +3683,7 @@ int View::DrawPlots( int offset, double pxns, const ImVec2& wpos, bool hover, fl
{ {
const auto PlotHeight = 100 * ImGui::GetTextLineHeight() / 15.f; const auto PlotHeight = 100 * ImGui::GetTextLineHeight() / 15.f;
enum { MaxPoints = 512 }; enum { MaxPoints = 128 };
float tmpvec[MaxPoints*2]; float tmpvec[MaxPoints*2];
const auto w = ImGui::GetWindowContentRegionWidth() - 1; const auto w = ImGui::GetWindowContentRegionWidth() - 1;