mirror of
https://github.com/ocornut/imgui.git
synced 2024-11-24 15:50:25 +01:00
Revert
This commit is contained in:
parent
d10d0343b2
commit
7a0004eb86
@ -6547,7 +6547,7 @@ static void Plot(ImGuiPlotType plot_type, const char* label, float (*values_gett
|
||||
return;
|
||||
|
||||
// Determine scale from values if not specified
|
||||
if (scale_min == FLT_MAX || scale_max == FLT_MAX || (scale_min == 0.0f && scale_max == 0.0f))
|
||||
if (scale_min == FLT_MAX || scale_max == FLT_MAX)
|
||||
{
|
||||
float v_min = FLT_MAX;
|
||||
float v_max = -FLT_MAX;
|
||||
|
Loading…
Reference in New Issue
Block a user