mirror of
https://github.com/gwm17/implot.git
synced 2024-11-23 02:38:53 -05:00
Merge pull request #90 from PeterJohnson/fix-yaxis-settings
Fix yaxis setting updates not working
This commit is contained in:
commit
0969a8df83
|
@ -852,11 +852,11 @@ bool BeginPlot(const char* title, const char* x_label, const char* y_label, cons
|
|||
if (flags != plot.PreviousFlags)
|
||||
plot.Flags = flags;
|
||||
if (y_flags != plot.YAxis[0].PreviousFlags)
|
||||
plot.YAxis[0].PreviousFlags = y_flags;
|
||||
plot.YAxis[0].Flags = y_flags;
|
||||
if (y2_flags != plot.YAxis[1].PreviousFlags)
|
||||
plot.YAxis[1].PreviousFlags = y2_flags;
|
||||
plot.YAxis[1].Flags = y2_flags;
|
||||
if (y3_flags != plot.YAxis[2].PreviousFlags)
|
||||
plot.YAxis[2].PreviousFlags = y3_flags;
|
||||
plot.YAxis[2].Flags = y3_flags;
|
||||
}
|
||||
|
||||
plot.PreviousFlags = flags;
|
||||
|
|
Loading…
Reference in New Issue
Block a user