]> git.sesse.net Git - kdenlive/commitdiff
Scale background for curve widget to make it less bright.
authorTill Theato <root@ttill.de>
Fri, 3 Sep 2010 13:25:10 +0000 (13:25 +0000)
committerTill Theato <root@ttill.de>
Fri, 3 Sep 2010 13:25:10 +0000 (13:25 +0000)
svn path=/trunk/kdenlive/; revision=4822

src/effectstackedit.cpp

index fc979af8230492198315f635d7ab9032e4c3c6a3..24bf49160accf6f9b03f57a4df4e0909a7b85051 100644 (file)
@@ -145,7 +145,7 @@ void EffectStackEdit::meetDependency(const QString& name, QString type, QString
         KisCurveWidget *curve = (KisCurveWidget*)m_valueItems[name];
         if (curve) {
             int color = value.toInt();
-            curve->setPixmap(QPixmap::fromImage(ColorTools::rgbCurvePlane(curve->size(), (ColorTools::ColorsRGB)color)));
+            curve->setPixmap(QPixmap::fromImage(ColorTools::rgbCurvePlane(curve->size(), (ColorTools::ColorsRGB)color, 0.8)));
         }
     }
 }