From 0738ea402a45da312f1ea4696ace092fea5f8803 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Thu, 30 Jul 2026 08:55:03 +1000 Subject: [PATCH] [client] overlay: fix invalid label usage in igPlotLines call --- client/src/overlay/graphs.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/client/src/overlay/graphs.c b/client/src/overlay/graphs.c index 21a6b2f3..a2cee8f4 100644 --- a/client/src/overlay/graphs.c +++ b/client/src/overlay/graphs.c @@ -57,7 +57,9 @@ static void configCallback(void * udata, int * id) ll_forEachNL(gs.graphs, item, graph) { igTableNextColumn(); + igPushID_Ptr(graph); igCheckbox(graph->name, &graph->enabled); + igPopID(); } ll_unlock(gs.graphs); @@ -197,8 +199,9 @@ static int graphs_render(void * udata, bool interactive, title = _title; } + igPushID_Ptr(graph); igPlotLines_FloatPtr( - (void *)graph, + "##graph", (float *)ringbuffer_getValues(graph->buffer), ringbuffer_getLength(graph->buffer), ringbuffer_getStart (graph->buffer), @@ -207,6 +210,7 @@ static int graphs_render(void * udata, bool interactive, graph->max, (ImVec2){ winSize.x, height }, sizeof(float)); + igPopID(); }; ll_unlock(gs.graphs);