From 00615e1e9043867a60aa704b71314335598b807b Mon Sep 17 00:00:00 2001 From: reionwong Date: Tue, 29 Jun 2021 23:57:00 +0800 Subject: [PATCH] Adjust the background opacity of the Menu https://github.com/cutefishos/fishui/issues/1 --- widgetstyle/basestyle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgetstyle/basestyle.cpp b/widgetstyle/basestyle.cpp index c3ad4e2..8d990fa 100644 --- a/widgetstyle/basestyle.cpp +++ b/widgetstyle/basestyle.cpp @@ -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);