# HG changeset patch # User Chris Cannam # Date 1416574160 0 # Node ID 6a590241d8adf838861c074801ade0127fa9b51d # Parent dd95abfe736c557d765b989d146239bbdc77dcd2 Grey lines in alignment view; chords for salient features diff -r dd95abfe736c -r 6a590241d8ad view/AlignmentView.cpp --- a/view/AlignmentView.cpp Fri Nov 21 11:48:21 2014 +0000 +++ b/view/AlignmentView.cpp Fri Nov 21 12:49:20 2014 +0000 @@ -111,8 +111,14 @@ bool darkPalette = false; if (m_manager) darkPalette = m_manager->getGlobalDarkBackground(); - QColor fg = Qt::black, bg = Qt::white; - if (darkPalette) std::swap(fg, bg); + QColor fg, bg; + if (darkPalette) { + fg = Qt::gray; + bg = Qt::black; + } else { + fg = Qt::black; + bg = Qt::gray; + } QPainter paint(this); paint.setPen(QPen(fg, 2));