viewer: give the current-image plot marker a fixed colour

The current-image marker (a scatter series) was picking an arbitrary theme colour
(green), which read as a stray series. Pin it to black so it's an unambiguous
"current image" dot, distinct from the run line colours. Its legend entry is
already hidden.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-22 12:13:39 +02:00
co-authored by Claude Opus 4.8
parent 2af822436e
commit a412f96f3a
@@ -228,6 +228,8 @@ void JFJochDatasetInfoChartView::buildTimeDomainChart() {
if (primary_color_.isValid())
series->setColor(primary_color_);
currentSeries = new QScatterSeries(this);
currentSeries->setColor(Qt::black); // "current image" marker: fixed, not a run colour
currentSeries->setMarkerSize(9.0);
double dispMin = std::numeric_limits<double>::infinity();
double dispMax = -std::numeric_limits<double>::infinity();