diff view/View.cpp @ 272:87e4c880b4c8

* highlight the nearest measurement rect * fix rewind during playback
author Chris Cannam
date Fri, 29 Jun 2007 13:58:08 +0000
parents 61a704654497
children b9380f679f70
line wrap: on
line diff
--- a/view/View.cpp	Thu Jun 28 14:50:58 2007 +0000
+++ b/view/View.cpp	Fri Jun 29 13:58:08 2007 +0000
@@ -1650,8 +1650,8 @@
         paint.save();
         if (focus) {
             paint.setPen(Qt::NoPen);
-            QColor brushColour(Qt::green);
-            brushColour.setAlpha(30);
+            QColor brushColour(Qt::black);
+            brushColour.setAlpha(hasLightBackground() ? 15 : 40);
             paint.setBrush(brushColour);
             if (r.x() > 0) {
                 paint.drawRect(0, 0, r.x(), height());