diff --git a/src/messages/layouts/messagelayout.cpp b/src/messages/layouts/messagelayout.cpp index dd348fd92..ee38aef12 100644 --- a/src/messages/layouts/messagelayout.cpp +++ b/src/messages/layouts/messagelayout.cpp @@ -151,14 +151,14 @@ void MessageLayout::paint(QPainter &painter, int y, int messageIndex, Selection painter.drawPixmap(0, y, *pixmap); // painter.drawPixmap(0, y, this->container.width, this->container.getHeight(), *pixmap); + // draw gif emotes + this->container.paintAnimatedElements(painter, y); + // draw disabled if (this->message->flags.HasFlag(Message::Disabled)) { painter.fillRect(0, y, pixmap->width(), pixmap->height(), themeManager.messages.disabled); } - // draw gif emotes - this->container.paintAnimatedElements(painter, y); - // draw last read message line if (isLastReadMessage) { QColor color = isWindowFocused ? themeManager.tabs.selected.backgrounds.regular.color()