mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Flatten Train View Load Colors
.. the alpha channel was too agressive for light backgrounds and was washed out and unpleasant on the eye. .. reduced the alpha blend to make it flatter and cleaner.
This commit is contained in:
@@ -351,9 +351,9 @@ WWLine::paint(QPainter *painter)
|
||||
painter->setPen(Qt::NoPen);
|
||||
|
||||
QColor brush_color1 = QColor(GColor(CTPOWER));
|
||||
brush_color1.setAlpha(200);
|
||||
brush_color1.setAlpha(240);
|
||||
QColor brush_color2 = QColor(GColor(CTPOWER));
|
||||
brush_color2.setAlpha(64);
|
||||
brush_color2.setAlpha(200);
|
||||
|
||||
QLinearGradient linearGradient(0, 0, 0, workoutWidget()->transform(0,0).y());
|
||||
linearGradient.setColorAt(0.0, brush_color1);
|
||||
|
||||
Reference in New Issue
Block a user