Dont invalidate paint buffer when selecting (#4911)

This commit is contained in:
kornes
2023-11-08 21:19:18 +00:00
committed by GitHub
parent fcc5f4b3df
commit c8e03b4ad7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -200,7 +200,7 @@ void MessageLayout::paint(const MessagePaintContext &ctx)
{
QPixmap *pixmap = this->ensureBuffer(ctx.painter, ctx.canvasWidth);
if (!this->bufferValid_ || !ctx.selection.isEmpty())
if (!this->bufferValid_)
{
this->updateBuffer(pixmap, ctx);
}