Again, a patch by Wilfried Huss:
Make the menu button fade out like the other buttons. svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=308892icc-effect-5.14.5
parent
b20cf8bf18
commit
4b22ed1d20
|
@ -278,7 +278,7 @@ void PlastikButton::drawButton(QPainter *painter)
|
|||
// fill with the titlebar background
|
||||
bP.drawTiledPixmap(0, 0, width(), width(), backgroundTile);
|
||||
|
||||
if (! (m_type == MenuButton && !hover) ) {
|
||||
if (m_type != MenuButton || hover || animProgress != 0) {
|
||||
// contour
|
||||
bP.setPen(contourTop);
|
||||
bP.drawLine(r.x()+2, r.y(), r.right()-2, r.y() );
|
||||
|
|
Loading…
Reference in New Issue