don't tint button outlines quite so much on hover
svn path=/trunk/KDE/kdebase/workspace/; revision=753969
This commit is contained in:
parent
751f106782
commit
dae9b3df18
1 changed files with 2 additions and 2 deletions
|
@ -201,8 +201,8 @@ void PlastikButton::drawButton(QPainter *painter)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (alpha > 0.0) {
|
if (alpha > 0.0) {
|
||||||
contourTop = KColorUtils::mix(contourTop, highlightColor, alpha);
|
contourTop = KColorUtils::mix(contourTop, highlightColor, alpha*0.4);
|
||||||
contourBottom = KColorUtils::mix(contourBottom, highlightColor, alpha);
|
contourBottom = KColorUtils::mix(contourBottom, highlightColor, alpha*0.4);
|
||||||
surfaceTop = KColorUtils::mix(surfaceTop, highlightColor, alpha);
|
surfaceTop = KColorUtils::mix(surfaceTop, highlightColor, alpha);
|
||||||
surfaceBottom = KColorUtils::mix(surfaceBottom, highlightColor, alpha);
|
surfaceBottom = KColorUtils::mix(surfaceBottom, highlightColor, alpha);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue