diff --git a/src/widgets/helper/channelview.cpp b/src/widgets/helper/channelview.cpp index 40ddb9e80..67ab9b5d3 100644 --- a/src/widgets/helper/channelview.cpp +++ b/src/widgets/helper/channelview.cpp @@ -426,8 +426,6 @@ void ChannelView::paintEvent(QPaintEvent * /*event*/) // BENCH(timer); QPainter painter(this); - painter.setRenderHint(QPainter::SmoothPixmapTransform); - // only update gif emotes #ifndef Q_OS_MAC // if (this->onlyUpdateEmotes) { @@ -451,6 +449,8 @@ void ChannelView::paintEvent(QPaintEvent * /*event*/) // draw messages this->drawMessages(painter); + painter.setRenderHint(QPainter::SmoothPixmapTransform); + // draw gif emotes for (GifEmoteData &item : this->gifEmotes) { // painter.fillRect(item.rect, this->colorScheme.ChatBackground); @@ -531,6 +531,8 @@ void ChannelView::updateMessageBuffer(messages::MessageRef *messageRef, QPixmap { QPainter painter(buffer); + painter.setRenderHint(QPainter::SmoothPixmapTransform); + // draw background // if (this->selectionMin.messageIndex <= messageIndex && // this->selectionMax.messageIndex >= messageIndex) {