2018-08-13 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression that caused 'stop' transport buttons to have
	the incorrect shadow color.
This commit is contained in:
Fred Gleason
2018-08-13 17:26:33 -04:00
parent 77f35e52f5
commit 643fcf28fa
2 changed files with 5 additions and 2 deletions

View File

@@ -17381,3 +17381,6 @@
* Dropped the 'STATIONS.BACKUP_DIR' and 'STATIONS.BACKUP_LIFE' * Dropped the 'STATIONS.BACKUP_DIR' and 'STATIONS.BACKUP_LIFE'
fields drom the database. fields drom the database.
* Incremented the database version to 296. * Incremented the database version to 296.
2018-08-13 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression that caused 'stop' transport buttons to have
the incorrect shadow color.

View File

@@ -387,7 +387,7 @@ void RDTransportButton::drawOnCap()
case RDTransportButton::Stop: case RDTransportButton::Stop:
p.fillRect(width()/2-edge*3/10,height()/2-edge*3/10, p.fillRect(width()/2-edge*3/10,height()/2-edge*3/10,
edge*3/5,edge*3/5,QColor(on_color)); edge*3/5,edge*3/5,QColor(on_color));
p.setPen(QColor(colorGroup().shadow())); p.setPen(QColor(colorGroup().shadow()));
p.drawLine(width()/2-edge*3/10,height()/2+edge*3/10, p.drawLine(width()/2-edge*3/10,height()/2+edge*3/10,
width()/2-edge*3/10,height()/2-edge*3/10); width()/2-edge*3/10,height()/2-edge*3/10);
@@ -667,7 +667,7 @@ void RDTransportButton::drawOffCap()
case RDTransportButton::Stop: case RDTransportButton::Stop:
p.fillRect(width()/2-edge*3/10,height()/2-edge*3/10, p.fillRect(width()/2-edge*3/10,height()/2-edge*3/10,
edge*3/5,edge*3/5,QColor(colorGroup().shadow())); edge*3/5,edge*3/5,QColor(Qt::black));
p.setPen(QColor(colorGroup().shadow())); p.setPen(QColor(colorGroup().shadow()));
p.drawLine(width()/2-edge*3/10,height()/2+edge*3/10, p.drawLine(width()/2-edge*3/10,height()/2+edge*3/10,
width()/2-edge*3/10,height()/2-edge*3/10); width()/2-edge*3/10,height()/2-edge*3/10);