mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-27 16:02:00 +00:00
Fixed optimized repaint of message text while send animating.
Related commit: 8638d26156.
This commit is contained in:
@@ -1901,7 +1901,8 @@ void Message::paintText(
|
||||
width());
|
||||
trect.setY(trect.y() + botTop->height);
|
||||
}
|
||||
if (!context.clip.intersects(trect)) {
|
||||
if (!context.clip.intersects(trect)
|
||||
&& context.skipDrawingParts == PaintContext::SkipDrawingParts::None) {
|
||||
return;
|
||||
}
|
||||
prepareCustomEmojiPaint(p, context, text());
|
||||
|
||||
Reference in New Issue
Block a user