From 467280bbd50250d3e18d00f3ad9d1d3308101c9c Mon Sep 17 00:00:00 2001 From: Bryant Date: Tue, 4 Jun 2013 13:41:38 -0700 Subject: [PATCH] Light themes should have darker plot colors and dark themes vice-versa. --- src/ui/linechart/ChartPlot.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/linechart/ChartPlot.cc b/src/ui/linechart/ChartPlot.cc index 49eddebf1..87894f35e 100644 --- a/src/ui/linechart/ChartPlot.cc +++ b/src/ui/linechart/ChartPlot.cc @@ -97,11 +97,11 @@ void ChartPlot::applyColorScheme(MainWindow::QGC_MAINWINDOW_STYLE style) for (int i = 0; i < numColors; ++i) { if (style == MainWindow::QGC_MAINWINDOW_STYLE_LIGHT) { - colors[i] = baseColors[i].lighter(150); + colors[i] = baseColors[i].darker(150); } else { - colors[i] = baseColors[i].darker(150); + colors[i] = baseColors[i].lighter(150); } } shuffleColors(); -- 2.22.0