From c88da6e70c3fcb4fa232ec01cf48b6f7d9707989 Mon Sep 17 00:00:00 2001 From: Noah Davis Date: Sat, 14 Dec 2019 14:40:29 -0500 Subject: [PATCH] Change rubberband selection background opacity to exactly 20% --- kstyle/breezestyle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kstyle/breezestyle.cpp b/kstyle/breezestyle.cpp index 3554758b..11c8102e 100644 --- a/kstyle/breezestyle.cpp +++ b/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 ) );