Skip to content

Commit

Permalink
cabana: Fix visibility issue for a single data point in series (#32749)
Browse files Browse the repository at this point in the history
Fix visibility issue for a single data point in series
  • Loading branch information
deanlee authored Jun 14, 2024
1 parent d5ce4b3 commit 38529c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/cabana/chart/chart.cc
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ void ChartView::updateSeriesPoints() {
}
((QScatterSeries *)s.series)->setMarkerSize(size);
} else {
s.series->setPointsVisible(pixels_per_point > 20);
s.series->setPointsVisible(num_points == 1 || pixels_per_point > 20);
}
}
}
Expand Down

0 comments on commit 38529c5

Please sign in to comment.