From dae9b3df18aa35b66a3166eb35701758d8ded0d7 Mon Sep 17 00:00:00 2001 From: Matthew Woehlke Date: Fri, 28 Dec 2007 20:50:48 +0000 Subject: [PATCH] don't tint button outlines quite so much on hover svn path=/trunk/KDE/kdebase/workspace/; revision=753969 --- clients/plastik/plastikbutton.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/plastik/plastikbutton.cpp b/clients/plastik/plastikbutton.cpp index 722403fe0a..26fdbd3df6 100644 --- a/clients/plastik/plastikbutton.cpp +++ b/clients/plastik/plastikbutton.cpp @@ -201,8 +201,8 @@ void PlastikButton::drawButton(QPainter *painter) } if (alpha > 0.0) { - contourTop = KColorUtils::mix(contourTop, highlightColor, alpha); - contourBottom = KColorUtils::mix(contourBottom, highlightColor, alpha); + contourTop = KColorUtils::mix(contourTop, highlightColor, alpha*0.4); + contourBottom = KColorUtils::mix(contourBottom, highlightColor, alpha*0.4); surfaceTop = KColorUtils::mix(surfaceTop, highlightColor, alpha); surfaceBottom = KColorUtils::mix(surfaceBottom, highlightColor, alpha); }