From 9027e3b7ee821ababc94d5eeeeaa810c2964e58c Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Mon, 5 Jan 2026 08:07:22 +0300 Subject: [PATCH] Fixed optimized repaint of message text while send animating. Related commit: 8638d261561131ef1f7b181a6af96ad2df64d60c. --- Telegram/SourceFiles/history/view/history_view_message.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/history/view/history_view_message.cpp b/Telegram/SourceFiles/history/view/history_view_message.cpp index ccfbe7080e..4d8cd088d7 100644 --- a/Telegram/SourceFiles/history/view/history_view_message.cpp +++ b/Telegram/SourceFiles/history/view/history_view_message.cpp @@ -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());