1
0
Fork 0
mirror of https://github.com/gwm17/implot.git synced 2024-11-23 02:38:53 -05:00

Merge pull request #31 from ozlb/patch-1

PlotDigital vs FitThisFrame
This commit is contained in:
Evan Pezent 2020-05-13 09:21:00 -05:00 committed by GitHub
commit 9b098b816c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2577,7 +2577,7 @@ inline void PlotDigitalEx(const char* label_id, Getter getter, int count, int of
if (gp.FitThisFrame) {
for (int i = 0; i < count; ++i) {
ImVec2 p = getter(i);
FitPoint(p);
FitPoint(ImVec2(p.x, 0));
}
}