jp: fix hidden plots unhiding on interaction (#37870)

This commit is contained in:
Adeeb Shihadeh
2026-04-21 09:53:17 -07:00
committed by GitHub
parent 04b23ff849
commit 341786acb5
+1 -1
View File
@@ -848,7 +848,7 @@ void draw_plot(const AppSession &session, Pane *pane, UiState *state) {
} else {
for (size_t i = 0; i < prepared_curves.size(); ++i) {
const PreparedCurve &curve = prepared_curves[i];
std::string series_id = curve_legend_label(curve, has_cursor_time, max_legend_label_width) + "##curve" + std::to_string(i);
std::string series_id = curve_legend_label(curve, has_cursor_time, max_legend_label_width) + "###curve" + std::to_string(curve.pane_curve_index);
ImPlotSpec spec;
spec.LineColor = color_rgb(curve.color);
spec.LineWeight = curve.line_weight;