Commit 467280bb authored by Bryant's avatar Bryant

Light themes should have darker plot colors and dark themes vice-versa.

parent 608daefa
...@@ -97,11 +97,11 @@ void ChartPlot::applyColorScheme(MainWindow::QGC_MAINWINDOW_STYLE style) ...@@ -97,11 +97,11 @@ void ChartPlot::applyColorScheme(MainWindow::QGC_MAINWINDOW_STYLE style)
for (int i = 0; i < numColors; ++i) for (int i = 0; i < numColors; ++i)
{ {
if (style == MainWindow::QGC_MAINWINDOW_STYLE_LIGHT) { if (style == MainWindow::QGC_MAINWINDOW_STYLE_LIGHT) {
colors[i] = baseColors[i].lighter(150); colors[i] = baseColors[i].darker(150);
} }
else else
{ {
colors[i] = baseColors[i].darker(150); colors[i] = baseColors[i].lighter(150);
} }
} }
shuffleColors(); shuffleColors();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment