Enable antialiasing for reply button (#5491)
This commit is contained in:
@@ -16,6 +16,7 @@
|
|||||||
- Minor: Added drop indicator line while dragging in tables. (#5256)
|
- Minor: Added drop indicator line while dragging in tables. (#5256)
|
||||||
- Minor: Add channel points indication for new bits power-up redemptions. (#5471)
|
- Minor: Add channel points indication for new bits power-up redemptions. (#5471)
|
||||||
- Minor: Added `/warn <username> <reason>` command for mods. This prevents the user from chatting until they acknowledge the warning. (#5474)
|
- Minor: Added `/warn <username> <reason>` 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)
|
- Minor: Introduce HTTP API for plugins. (#5383, #5492, #5494)
|
||||||
- Bugfix: Fixed tab move animation occasionally failing to start after closing a tab. (#5426)
|
- 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)
|
- Bugfix: If a network request errors with 200 OK, Qt's error code is now reported instead of the HTTP status. (#5378)
|
||||||
|
|||||||
@@ -233,7 +233,9 @@ void MessageLayoutContainer::paintElements(QPainter &painter,
|
|||||||
painter.drawRect(element->getRect());
|
painter.drawRect(element->getRect());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
painter.save();
|
||||||
element->paint(painter, ctx.messageColors);
|
element->paint(painter, ctx.messageColors);
|
||||||
|
painter.restore();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -392,6 +392,7 @@ void ImageWithCircleBackgroundLayoutElement::paint(
|
|||||||
if (pixmap && !this->image_->animated())
|
if (pixmap && !this->image_->animated())
|
||||||
{
|
{
|
||||||
QRectF boxRect(this->getRect());
|
QRectF boxRect(this->getRect());
|
||||||
|
painter.setRenderHint(QPainter::Antialiasing);
|
||||||
painter.setPen(Qt::NoPen);
|
painter.setPen(Qt::NoPen);
|
||||||
painter.setBrush(QBrush(this->color_, Qt::SolidPattern));
|
painter.setBrush(QBrush(this->color_, Qt::SolidPattern));
|
||||||
painter.drawEllipse(boxRect);
|
painter.drawEllipse(boxRect);
|
||||||
|
|||||||
Reference in New Issue
Block a user