Change rubberband selection background opacity to exactly 20%

wilder-5.18
Noah Davis 6 years ago
parent 80650e0e87
commit c88da6e70c
  1. 2
      kstyle/breezestyle.cpp

@ -5396,7 +5396,7 @@ namespace Breeze
QPen pen = KColorUtils::mix( color, palette.color( QPalette::Active, QPalette::WindowText ) );
pen.setJoinStyle(Qt::RoundJoin);
painter->setPen( pen );
color.setAlpha( 50 );
color.setAlpha( 51 ); // 20% opacity
painter->setBrush( color );
painter->drawRect( _helper->strokedRect( option->rect ) );

Loading…
Cancel
Save