added dim effect to the titlebar buttons
This commit is contained in:
@@ -24,6 +24,8 @@ void TitleBarButton::paintEvent(QPaintEvent *)
|
||||
{
|
||||
QPainter painter(this);
|
||||
|
||||
painter.setOpacity(this->getCurrentDimAmount());
|
||||
|
||||
QColor color = this->themeManager->window.text;
|
||||
QColor background = this->themeManager->window.background;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user