diff --git a/CHANGELOG.md b/CHANGELOG.md index af0cd8545..74acfc0bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ - Minor: Added drop indicator line while dragging in tables. (#5256) - Minor: Add channel points indication for new bits power-up redemptions. (#5471) - Minor: Added `/warn ` command for mods. This prevents the user from chatting until they acknowledge the warning. (#5474) +- Minor: Improve appearance of reply button. (#5491) - Minor: Introduce HTTP API for plugins. (#5383, #5492, #5494) - Bugfix: Fixed tab move animation occasionally failing to start after closing a tab. (#5426) - Bugfix: If a network request errors with 200 OK, Qt's error code is now reported instead of the HTTP status. (#5378) diff --git a/src/messages/layouts/MessageLayoutContainer.cpp b/src/messages/layouts/MessageLayoutContainer.cpp index e5e53f360..5c3942763 100644 --- a/src/messages/layouts/MessageLayoutContainer.cpp +++ b/src/messages/layouts/MessageLayoutContainer.cpp @@ -233,7 +233,9 @@ void MessageLayoutContainer::paintElements(QPainter &painter, painter.drawRect(element->getRect()); #endif + painter.save(); element->paint(painter, ctx.messageColors); + painter.restore(); } } diff --git a/src/messages/layouts/MessageLayoutElement.cpp b/src/messages/layouts/MessageLayoutElement.cpp index 31b7d4fe5..3bfe77330 100644 --- a/src/messages/layouts/MessageLayoutElement.cpp +++ b/src/messages/layouts/MessageLayoutElement.cpp @@ -392,6 +392,7 @@ void ImageWithCircleBackgroundLayoutElement::paint( if (pixmap && !this->image_->animated()) { QRectF boxRect(this->getRect()); + painter.setRenderHint(QPainter::Antialiasing); painter.setPen(Qt::NoPen); painter.setBrush(QBrush(this->color_, Qt::SolidPattern)); painter.drawEllipse(boxRect);