mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Enable antialiasing for reply button (#5491)
This commit is contained in:
parent
93fbcbbe5f
commit
8e29f75308
3 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue