mirror of
https://github.com/gwm17/implot.git
synced 2024-11-26 20:28:50 -05:00
fix missing marker in demo
This commit is contained in:
parent
019de727ba
commit
93bab1930e
|
@ -573,7 +573,7 @@ void ShowDemoWindow(bool* p_open) {
|
||||||
ImS8 ys[2] = {10,11};
|
ImS8 ys[2] = {10,11};
|
||||||
|
|
||||||
// filled markers
|
// filled markers
|
||||||
for (int m = 1; m < ImPlotMarker_COUNT; ++m) {
|
for (int m = 0; m < ImPlotMarker_COUNT; ++m) {
|
||||||
ImGui::PushID(m);
|
ImGui::PushID(m);
|
||||||
ImPlot::SetNextMarkerStyle(m, mk_size, IMPLOT_AUTO_COL, mk_weight);
|
ImPlot::SetNextMarkerStyle(m, mk_size, IMPLOT_AUTO_COL, mk_weight);
|
||||||
ImPlot::PlotLine("##Filled", xs, ys, 2);
|
ImPlot::PlotLine("##Filled", xs, ys, 2);
|
||||||
|
@ -582,7 +582,7 @@ void ShowDemoWindow(bool* p_open) {
|
||||||
}
|
}
|
||||||
xs[0] = 6; xs[1] = 9; ys[0] = 10; ys[1] = 11;
|
xs[0] = 6; xs[1] = 9; ys[0] = 10; ys[1] = 11;
|
||||||
// open markers
|
// open markers
|
||||||
for (int m = 1; m < ImPlotMarker_COUNT; ++m) {
|
for (int m = 0; m < ImPlotMarker_COUNT; ++m) {
|
||||||
ImGui::PushID(m);
|
ImGui::PushID(m);
|
||||||
ImPlot::SetNextMarkerStyle(m, mk_size, ImVec4(0,0,0,0), mk_weight);
|
ImPlot::SetNextMarkerStyle(m, mk_size, ImVec4(0,0,0,0), mk_weight);
|
||||||
ImPlot::PlotLine("##Open", xs, ys, 2);
|
ImPlot::PlotLine("##Open", xs, ys, 2);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user