mirror of
https://github.com/gwm17/implot.git
synced 2024-11-23 10:48:52 -05:00
Merge branch 'master' of https://github.com/epezent/implot
This commit is contained in:
commit
4be885bf57
|
@ -669,7 +669,7 @@ void ShowDemoWindow(bool* p_open) {
|
||||||
paused = !paused;
|
paused = !paused;
|
||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
for (int i = 0; i < K_CHANNELS; ++i) {
|
for (int i = 0; i < K_CHANNELS; ++i) {
|
||||||
char label[K_CHANNELS];
|
char label[8];
|
||||||
sprintf(label, show[i] ? "data_%d*" : "data_%d", i);
|
sprintf(label, show[i] ? "data_%d*" : "data_%d", i);
|
||||||
ImGui::Selectable(label, false, 0, ImVec2(100, 0));
|
ImGui::Selectable(label, false, 0, ImVec2(100, 0));
|
||||||
if (ImGui::BeginDragDropSource(ImGuiDragDropFlags_None)) {
|
if (ImGui::BeginDragDropSource(ImGuiDragDropFlags_None)) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user