mirror of
https://github.com/SatDump/SatDump
synced 2026-08-13 17:47:30 -04:00
Fix FY-3 ImGui errors
This commit is contained in:
parent
25f9076185
commit
9fa2a64d04
2 changed files with 4 additions and 4 deletions
|
|
@ -229,7 +229,7 @@ namespace fengyun3
|
|||
std::memmove(&ber_history1[0], &ber_history1[1], (200 - 1) * sizeof(float));
|
||||
ber_history1[200 - 1] = ber1;
|
||||
|
||||
widgets::ThemedPlotLines(style::theme.plot_bg.Value, "##", ber_history1, IM_ARRAYSIZE(ber_history1), 0, "", 0.0f, 1.0f, ImVec2(200 * ui_scale, 50 * ui_scale));
|
||||
widgets::ThemedPlotLines(style::theme.plot_bg.Value, "##1", ber_history1, IM_ARRAYSIZE(ber_history1), 0, "", 0.0f, 1.0f, ImVec2(200 * ui_scale, 50 * ui_scale));
|
||||
}
|
||||
|
||||
ImGui::Button("Viterbi 2", {200 * ui_scale, 20 * ui_scale});
|
||||
|
|
@ -250,7 +250,7 @@ namespace fengyun3
|
|||
std::memmove(&ber_history2[0], &ber_history2[1], (200 - 1) * sizeof(float));
|
||||
ber_history2[200 - 1] = ber2;
|
||||
|
||||
widgets::ThemedPlotLines(style::theme.plot_bg.Value, "##", ber_history2, IM_ARRAYSIZE(ber_history2), 0, "", 0.0f, 1.0f, ImVec2(200 * ui_scale, 50 * ui_scale));
|
||||
widgets::ThemedPlotLines(style::theme.plot_bg.Value, "##2", ber_history2, IM_ARRAYSIZE(ber_history2), 0, "", 0.0f, 1.0f, ImVec2(200 * ui_scale, 50 * ui_scale));
|
||||
}
|
||||
|
||||
ImGui::Spacing();
|
||||
|
|
|
|||
|
|
@ -228,7 +228,7 @@ namespace fengyun3
|
|||
std::memmove(&ber_history1[0], &ber_history1[1], (200 - 1) * sizeof(float));
|
||||
ber_history1[200 - 1] = ber1;
|
||||
|
||||
widgets::ThemedPlotLines(style::theme.plot_bg.Value, "##", ber_history1, IM_ARRAYSIZE(ber_history1), 0, "", 0.0f, 1.0f, ImVec2(200 * ui_scale, 50 * ui_scale));
|
||||
widgets::ThemedPlotLines(style::theme.plot_bg.Value, "##1", ber_history1, IM_ARRAYSIZE(ber_history1), 0, "", 0.0f, 1.0f, ImVec2(200 * ui_scale, 50 * ui_scale));
|
||||
}
|
||||
|
||||
ImGui::Button("Viterbi 2", {200 * ui_scale, 20 * ui_scale});
|
||||
|
|
@ -249,7 +249,7 @@ namespace fengyun3
|
|||
std::memmove(&ber_history2[0], &ber_history2[1], (200 - 1) * sizeof(float));
|
||||
ber_history2[200 - 1] = ber2;
|
||||
|
||||
widgets::ThemedPlotLines(style::theme.plot_bg.Value, "##", ber_history2, IM_ARRAYSIZE(ber_history2), 0, "", 0.0f, 1.0f, ImVec2(200 * ui_scale, 50 * ui_scale));
|
||||
widgets::ThemedPlotLines(style::theme.plot_bg.Value, "##2", ber_history2, IM_ARRAYSIZE(ber_history2), 0, "", 0.0f, 1.0f, ImVec2(200 * ui_scale, 50 * ui_scale));
|
||||
}
|
||||
|
||||
ImGui::Spacing();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue