mirror of
https://github.com/gwm17/implot.git
synced 2024-11-26 20:28:50 -05:00
commit
9b098b816c
|
@ -2573,11 +2573,11 @@ inline void PlotDigitalEx(const char* label_id, Getter getter, int count, int of
|
|||
if (gp.Style.Colors[ImPlotCol_Line].w != -1)
|
||||
item->Color = gp.Style.Colors[ImPlotCol_Line];
|
||||
|
||||
// find data extents
|
||||
// find data extents
|
||||
if (gp.FitThisFrame) {
|
||||
for (int i = 0; i < count; ++i) {
|
||||
ImVec2 p = getter(i);
|
||||
FitPoint(p);
|
||||
FitPoint(ImVec2(p.x, 0));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user