From 5e762be32b8c92567c1952df490e152aafb25cd3 Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 13 Feb 2025 19:10:31 +0400 Subject: [PATCH] Remove redundant new progress in round videos. --- Telegram/SourceFiles/history/view/media/history_view_gif.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/history/view/media/history_view_gif.cpp b/Telegram/SourceFiles/history/view/media/history_view_gif.cpp index 4fd72b121..8f7698339 100644 --- a/Telegram/SourceFiles/history/view/media/history_view_gif.cpp +++ b/Telegram/SourceFiles/history/view/media/history_view_gif.cpp @@ -607,7 +607,9 @@ void Gif::draw(Painter &p, const PaintContext &context) const { validateThumbCache({ usew, painth }, isRound, rounding); p.drawImage(rthumb, _thumbCache); } - paintTimestampMark(p, rthumb, rounding); + if (!isRound) { + paintTimestampMark(p, rthumb, rounding); + } if (revealed < 1.) { p.setOpacity(1. - revealed);