Adjust the background opacity of the Menu

https://github.com/cutefishos/fishui/issues/1
main 0.3
reionwong 4 years ago
parent de2a3a9c35
commit 00615e1e90

@ -2163,7 +2163,7 @@ void BaseStyle::drawPrimitive(PrimitiveElement elem,
painter->setRenderHint(QPainter::Antialiasing);
painter->setPen(Qt::NoPen);
QColor background(swatch.color(S_window));
background.setAlpha(150);
background.setAlpha(200);
painter->setBrush(background);
QRectF frameRect = strokedRect(option->rect, 1);
painter->drawRoundedRect(frameRect, Phantom::DefaultFrame_Radius, Phantom::DefaultFrame_Radius);

Loading…
Cancel
Save