Dont invalidate paint buffer when selecting (#4911)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user